summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-19 11:50:43 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-28 08:56:50 +1000
commit6b3a032fdf5479cb5be441a01ebef92a39e5fb69 (patch)
tree68a77a9149dd9990c4737d68ac025131b48b3a6e /include
parent44c1de333acf1de22f570a16421e0ff4889b0809 (diff)
Add "Synaptics Capabilities" read-only property.
This patch adds a "Synaptics Capabilities" property that advertises the capabilities of the device in a read-only boolean property. The first three values signal the presence of physical mouse buttons (left, middle, right). Values 4 and 5 signal the touchpad's ability to do multi-finger tracking. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include')
-rw-r--r--include/synaptics-properties.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/synaptics-properties.h b/include/synaptics-properties.h
index f1591a4..b944adb 100644
--- a/include/synaptics-properties.h
+++ b/include/synaptics-properties.h
@@ -145,4 +145,8 @@
/* 8 bit (BOOL), 1 value, tap-and-drag */
#define SYNAPTICS_PROP_GESTURES "Synaptics Gestures"
+/* 8 bit (BOOL), 5 values (read-only), has_left, has_middle, has_right,
+ * has_double, has_triple */
+#define SYNAPTICS_PROP_CAPABILITIES "Synaptics Capabilities"
+
#endif /* _SYNAPTICS_PROPERTIES_H_ */