ButtonMapping and xorg.conf
daniel at freedesktop.org
Wed Jun 28 02:35:09 PDT 2006
On Tue, Jun 27, 2006 at 08:25:42PM -0400, John-Scott Atlakson wrote:
> I've looked at a lot of forum posts which show an "Option"
> "ButtonMapping" followed by a variety of number sequences and I
> understand that this allows you to map physical buttons to 'logical'
> buttons. However, after much searching, I can't seem to find out any
> helpful documentation about the 'logical' button order, so I'm left
> blindly reordering physical button numbers. Now that I think about it,
> are the results of xev telling me physical or logical button numbers?
> Where can I find this information? Thanks in advance for pointing me in
> the right direction.
The syntax is physical -> logical mapping, i.e.:
1 2 4 5 3
will leave buttons 1 and 2 alone, map button three to generate button
four events, map button four to generate button five events, and map
button five to generate button three events.
But you probably want to use evdev instead of mouse. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 191 bytes
Desc: Digital signature
More information about the xorg