Date: Thu, 17 Dec 2009 15:51:23 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: me@jackal.in Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons Message-ID: <200912171551.24718.hselasky@c2i.net> In-Reply-To: <200912171604.30794.me@jackal.in> References: <200912161556.52923.me@jackal.in> <200912171343.22970.hselasky@c2i.net> <200912171604.30794.me@jackal.in>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 17 December 2009 14:04:30 jackal wrote: > These buttons doesn't > generate button events, so xev can't see these buttons. Hi, That's because your left button press is mapped to (2**2, two in the power of two which is equal to 0x00000004) which is button 2, which I think is not correct. Typically left-right and middle button, should have button masks: 1,2,4. Try to compare ums debug output when using another USB mouse. > > ####### left button press > > Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 01 00 > > 00 00 00 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:0 t:0 w:0 buttons:0x00000004 --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912171551.24718.hselasky>