diff options
author | David Strobach <lalochcz@gmail.com> | 2016-11-17 20:47:31 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-11-21 15:26:58 +1000 |
commit | 425ed6017a42937f69c1e8450ea8f3c6c6c20928 (patch) | |
tree | 2748b71a5a8e590c1121f1efaa52f3cf5e63eb7a /man | |
parent | 7251e42dfbac11eb1619b0a3881ee463b6d76c95 (diff) |
Middle emulation - make the emulated button number configurable
Sometimes it may be desirable to remap physical middle button
to something else and use emulation instead. The emulation is
however hardcoded to emulate physical button 2, so the emulated
button gets remapped together with the physical one. This patch
adds the Emulate3Button configuration option to allow for user
selection of the emulated button number and a configuration
like this:
Section "InputClass"
Identifier "Middle button emulation config"
MatchProduct ".... some device ..."
MatchDriver "evdev"
Option "Emulate3Buttons" "on"
Option "Emulate3Button" "9"
EndSection
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man')
-rw-r--r-- | man/evdev.man | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/man/evdev.man b/man/evdev.man index 8d84364..e39736a 100644 --- a/man/evdev.man +++ b/man/evdev.man @@ -94,6 +94,11 @@ 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. Property: "Evdev Middle Button Timeout". .TP 7 +.BI "Option \*qEmulate3Button\*q \*q" integer \*q +Specifies the physical button number to be emitted if middle button emulation +is triggered. +Default: 2. Property: "Evdev Middle Button Button". +.TP 7 .BI "Option \*qEmulateWheel\*q \*q" boolean \*q Enable/disable "wheel" emulation. Wheel emulation means emulating button press/release events when the mouse is moved while a specific real button @@ -283,6 +288,9 @@ value. .BI "Evdev Middle Button Timeout" 1 16-bit positive value. .TP 7 +.BI "Evdev Middle Button Button" +1 8-bit value, allowed range 0-32, 0 disables the button. +.TP 7 .BI "Evdev Wheel Emulation" 1 boolean value (8 bit, 0 or 1). .TP 7 |