ButtonMapping and xorg.conf

Daniel Stone 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...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060628/d4d4dcba/attachment.pgp>


More information about the xorg mailing list