Date: Sat, 28 Jul 2007 01:36:43 -0700 From: Garrett Cooper <youshi10@u.washington.edu> To: Rolf G Nielsen <lazlar@lazlarlyricon.com> Cc: freebsd-questions@freebsd.org Subject: Re: Tracing mouse events Message-ID: <46AB001B.7020204@u.washington.edu> In-Reply-To: <46AAFD17.1020702@lazlarlyricon.com> References: <46AAFD17.1020702@lazlarlyricon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Rolf G Nielsen wrote: > Does anyone know a utility, that would let me se mouse events in human > readable form? I recently bought a new mouse, which moused reports as > having 16 buttons, and xmodmap -pp reports 15 buttons. > > As far as I can see, it doesn't have 15 or 16 physical buttons. If I > count the wheel as two buttons, I get 8 or possibly 10: > > left & right (two buttons) > pushing the wheel (one button) > scrolling the wheel (two "buttons") > tilting the wheel left or right (two "buttons", which I guess are > intended for horizontal scrolling) > and a thumb button (one button) > > There are also two buttons, that increase or decrease the resolution > of the mouse, but I don't think those generate any mouse events. > > I'd like to find out which button is which, so I can install an actual > xmodmap that I'm happy with. > > /Rolf Nielsen Try xev. It captures all X11 input events within a small X widget created box. Beware though -- it captures all input, including mouse movement and keypresses. -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AB001B.7020204>