summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-05-11 12:32:32 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-13 09:03:46 +1000
commitee265e10c9cc724ad0badcab86a3893667717322 (patch)
treebf46224fce9a107dda3834236a5a6bfa486f4d32 /include
parente4b1571d487cb67bab64e1ee890bddcd02437ddf (diff)
Add TapAndDragGesture option and gestures property.
The tap-and-drag gesture is an alternative way of dragging. It is performed by tapping (touching and releasing the finger), then touching again and moving the finger on the touchpad. This gesture is enabled by default and can be disabled by setting the TapAndDragGesture option to false. The gesture already existed in synaptics and was always enabled. This commit adds an option to switch it on/off. The default behavior is tap-and-drag being enabled, that is, TapAndDragGesture is true. The "Synaptics Gestures" property is intended to hold all new gesture enabling options, like options for the upcoming multitouch gestures. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/synaptics-properties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/synaptics-properties.h b/include/synaptics-properties.h
index 0b8975c..f1591a4 100644
--- a/include/synaptics-properties.h
+++ b/include/synaptics-properties.h
@@ -142,4 +142,7 @@
/* 8 bit (BOOL) */
#define SYNAPTICS_PROP_GRAB "Synaptics Grab Event Device"
+/* 8 bit (BOOL), 1 value, tap-and-drag */
+#define SYNAPTICS_PROP_GESTURES "Synaptics Gestures"
+
#endif /* _SYNAPTICS_PROPERTIES_H_ */