aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/evdev-properties.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/evdev-properties.h b/include/evdev-properties.h
index 7df2876..16f2af7 100644
--- a/include/evdev-properties.h
+++ b/include/evdev-properties.h
@@ -66,4 +66,13 @@
/* BOOL */
#define EVDEV_PROP_SWAP_AXES "Evdev Axes Swap"
+/* BOOL */
+#define EVDEV_PROP_THIRDBUTTON "Evdev Third Button Emulation"
+/* CARD32 */
+#define EVDEV_PROP_THIRDBUTTON_TIMEOUT "Evdev Third Button Emulation Timeout"
+/* CARD8 */
+#define EVDEV_PROP_THIRDBUTTON_BUTTON "Evdev Third Button Emulation Button"
+/* CARD32 */
+#define EVDEV_PROP_THIRDBUTTON_THRESHOLD "Evdev Third Button Emulation Threshold"
+
#endif