From 6b3a032fdf5479cb5be441a01ebef92a39e5fb69 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 19 May 2009 11:50:43 +1000 Subject: 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 Signed-off-by: Henrik Rydberg --- include/synaptics-properties.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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_ */ -- cgit v1.2.3