Emulate3Buttons not honored
Peter Hutterer
peter.hutterer at who-t.net
Mon Jul 25 20:06:12 PDT 2011
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.
More information about the xorg
mailing list