aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter De Wachter <pdewacht@gmail.com>2012-10-03 22:08:12 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2013-10-21 16:39:59 +1000
commitd171b3d9194581cb6ed59dbe45d6cbf009dc0eaa (patch)
tree1f553d9ac37f6f8464dcf62c50caa29a44d3ec79 /include
parentAdd configuration options for smooth scrolling. (diff)
downloadxf86-input-evdev-d171b3d9194581cb6ed59dbe45d6cbf009dc0eaa.tar.gz
xf86-input-evdev-d171b3d9194581cb6ed59dbe45d6cbf009dc0eaa.tar.bz2
xf86-input-evdev-d171b3d9194581cb6ed59dbe45d6cbf009dc0eaa.zip
Export smooth scroll settings as an XInput property.
A new property "Evdev Scrolling Distance" is created that holds three values (vertical, horizontal and dial). Signed-off-by: Peter De Wachter <pdewacht@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/evdev-properties.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/evdev-properties.h b/include/evdev-properties.h
index 745a1ba..8ae5ba3 100644
--- a/include/evdev-properties.h
+++ b/include/evdev-properties.h
@@ -87,4 +87,8 @@
*/
#define EVDEV_PROP_FUNCTION_KEYS "Evdev Function Keys"
+/* Smooth scroll */
+/* INT32, 3 values (vertical, horizontal, dial) */
+#define EVDEV_PROP_SCROLL_DISTANCE "Evdev Scrolling Distance"
+
#endif