From 53e7525744cd7c47707c7339f0b771f59f99b97c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 21 Jul 2008 18:15:35 +0930 Subject: Add support for ButtonMapping option. --- man/evdev.man | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'man') 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" -- cgit v1.2.3