aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-01-26 12:11:00 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-08 11:34:51 +1000
commitd9001a6be9d86a5f30549af9fbb02a466f4b0709 (patch)
tree59a126f66fc1d9856e6fa5d235b8bac7cc540d47 /man
parentStatic atoms don't need to be initialized to 0. (diff)
downloadxf86-input-evdev-d9001a6be9d86a5f30549af9fbb02a466f4b0709.tar.gz
xf86-input-evdev-d9001a6be9d86a5f30549af9fbb02a466f4b0709.tar.bz2
xf86-input-evdev-d9001a6be9d86a5f30549af9fbb02a466f4b0709.zip
Add third button emulation.
New properties: "Evdev Third Button Emulation" → switch on/off "Evdev Third Button Emulation Timeout" → timeout until event is delivered "Evdev Third Button Emulation Button" → phys button to be emulated "Evdev Third Button Emulation Threshold" → move threshold before emulation is cancelled Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Benjamin Tissoires <tissoire@cena.fr>
Diffstat (limited to 'man')
-rw-r--r--man/evdev.man25
1 files changed, 25 insertions, 0 deletions
diff --git a/man/evdev.man b/man/evdev.man
index adb3f8d..931e1a1 100644
--- a/man/evdev.man
+++ b/man/evdev.man
@@ -133,6 +133,31 @@ must be pressed before wheel emulation is started. If the
is released before this timeout, the original button press/release event
is sent. Default: 200. Property: "Evdev Wheel Emulation Timeout".
.TP 7
+.BI "Option \*qEmulateThirdButton\*q \*q" boolean \*q
+Enable third button emulation. Third button emulation emits a right button
+event (by default) by pressing and holding the first button. The first
+button must be held down for the configured timeout and must not move more
+than the configured threshold for the emulation to activate. Otherwise, the
+first button event is posted as normal. Default: off. Property: "Evdev
+Third Button Emulation".
+.TP 7
+.BI "Option \*qEmulateThirdButtonTimeout\*q \*q" integer \*q
+Specifies the timeout in milliseconds between the initial button press and
+the generation of the emulated button event.
+Default: 1000. Property: "Evdev Third Button Emulation Timeout".
+.TP 7
+.BI "Option \*qEmulateThirdButtonButton\*q \*q" integer \*q
+Specifies the physical button number to be emitted if third button emulation
+is triggered.
+Default: 3. Property: "Evdev Third Button Button".
+.TP 7
+.BI "Option \*qEmulateThirdButtonMoveThreshold\*q \*q" integer \*q
+Specifies the maximum move fuzz in device coordinates for third button
+emulation. If the device moves by more than this threshold before the third
+button emulation is triggered, the emulation is cancelled and a first button
+event is generated as normal.
+Default: 20. Property: "Evdev Third Button Emulation Threshold".
+.TP 7
.BI "Option \*qGrabDevice\*q \*q" boolean \*q
Force a grab on the event device. Doing so will ensure that no other driver
can initialise the same device and it will also stop the device from sending