aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDima Kogan <dkogan@secretsauce.net>2009-08-16 23:11:50 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-18 13:09:33 +1000
commitf4ba2bd785b25fd522967abd7775925d5fded70f (patch)
tree9150fa2363c0529ed1589571a9991f50655c7646 /include
parentRestrict wheel emulation to a single axis at a time. (diff)
downloadxf86-input-evdev-f4ba2bd785b25fd522967abd7775925d5fded70f.tar.gz
xf86-input-evdev-f4ba2bd785b25fd522967abd7775925d5fded70f.tar.bz2
xf86-input-evdev-f4ba2bd785b25fd522967abd7775925d5fded70f.zip
Allow 0 as wheel emulation button for unconditional scrolling (#20529)
If wheel emulation is on and the emulation button is 0, then any x/y motion of the device is converted into wheel events. The devices becomes a scrolling-only device. Signed-off-by: Dima Kogan <dkogan@cds.caltech.edu> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/evdev-properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/evdev-properties.h b/include/evdev-properties.h
index 55c5a39..3e3c194 100644
--- a/include/evdev-properties.h
+++ b/include/evdev-properties.h
@@ -43,7 +43,7 @@
#define EVDEV_PROP_WHEEL_INERTIA "Evdev Wheel Emulation Inertia"
/* CARD16 */
#define EVDEV_PROP_WHEEL_TIMEOUT "Evdev Wheel Emulation Timeout"
-/* CARD8, value range 0-32 */
+/* CARD8, value range 0-32, 0 to always scroll */
#define EVDEV_PROP_WHEEL_BUTTON "Evdev Wheel Emulation Button"
/* Drag lock */