diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-01-26 12:11:00 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-02-08 11:34:51 +1000 |
commit | d9001a6be9d86a5f30549af9fbb02a466f4b0709 (patch) | |
tree | 59a126f66fc1d9856e6fa5d235b8bac7cc540d47 /include | |
parent | 22db196815b813ff1c4806dd4cbb06788763d6b6 (diff) |
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.h | 9 |
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 |