On Mon, Jul 25, 2011 at 03:34:37PM -0700, walt wrote: > On 07/25/2011 07:27 AM, Kevin Van Workum wrote: > > ... > > I'm trying to get my "ORtek Wireless Touchpad keyboard" to emulate 3 > > buttons... > > ... > > Note that X reports that it 'Found 3 mouse buttons', but in fact there > > are only 2 real buttons... > > Sounds like you already know more about this stuff than I do :) > > Just an idle observation: I have a four-button trackball mouse that > xorg announces as having 9 buttons. According to xev, the buttons are > 1: Left click > 3: Right click > 2: buttons 1 and 3 pressed at the same time > 8: Left tiny-button click > 9: Right tiny-button click > > That's all. Buttons 4-7 don't exist. Someone in this mailing list > explained this numbering system to me a long time ago. Shame I can't > remember it now :(
4-7 are the four scroll directions, so any physical button 4+ gets mapped to logical button 8+. see also http://who-t.blogspot.com/2009/06/button-mapping-in-x.html Cheers, Peter > Anyway, my point is that button numbering schemes can be sneaky, and you > may learn something interesting if you run xev and click the buttons in > random ways, maybe including double-tapping the touchpad, etc. _______________________________________________ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com