From f4ba2bd785b25fd522967abd7775925d5fded70f Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Sun, 16 Aug 2009 23:11:50 -0700 Subject: 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 Signed-off-by: Peter Hutterer --- include/evdev-properties.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3