diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-21 18:15:35 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-22 11:49:33 +0930 |
commit | 53e7525744cd7c47707c7339f0b771f59f99b97c (patch) | |
tree | 9405e621bcdf6e43176dde547ef95eef98dbd27a /man | |
parent | 5d13259a5ddab31dbb2158975c8ccbb1f3c99046 (diff) |
Add support for ButtonMapping option.
Diffstat (limited to 'man')
-rw-r--r-- | man/evdev.man | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/man/evdev.man b/man/evdev.man index f438f78..0a4b71a 100644 --- a/man/evdev.man +++ b/man/evdev.man @@ -67,6 +67,17 @@ button event is registered. Sets the timeout (in milliseconds) that the driver waits before deciding if two buttons where pressed "simultaneously" when 3 button emulation is enabled. Default: 50. +.TP 7 +.BI "Option \*qButtonMapping\*q \*q" string \*q +Sets the button mapping for this device. The mapping is a space-separated list +of button mappings that correspond in order to the physical buttons on the +device (i.e. the first number is the mapping for button 1, etc.). The default +mapping is "1 2 3 ... 32". A mapping of 0 deactivates the button. Multiple +buttons can have the same mapping. +For example, a left-handed mouse with deactivated scroll-wheel would use a +mapping of "3 2 1 0 0". Invalid mappings are ignored and the default mapping +is used. Buttons not specified in the user's mapping use the default mapping. + .SH AUTHORS Kristian Høgsberg. .SH "SEE ALSO" |