summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
authorChris Bagwell <chris@cnpbagwell.com>2010-07-19 19:30:14 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2010-07-21 13:08:46 +1000
commit75459b1c0bb85ce0bbeb4270114edddb30ff3b1b (patch)
tree9e353b310bc4dbdd4c75aa1c38a05747d3a069cd /src/synapticsstr.h
parent51e9bb815812469f39ad47f723d842bf1893a109 (diff)
Expose width support in capabilites properity.
Some properties are only valid with hardware supports width. Namely, *MinW properties. Config GUI's may wish to disable/grey out options related to width support. This combined with pressure property is good indication when 2 finger scrolling can be supported using emulation. Signed-off-by: Chris Bagwell <chris@cnpbagwell.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r--src/synapticsstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index 75c3ec8..b4a72aa 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -231,6 +231,7 @@ typedef struct _SynapticsPrivateRec
Bool has_double; /* double click detected for this device */
Bool has_triple; /* triple click detected for this device */
Bool has_pressure; /* device reports pressure */
+ Bool has_width; /* device reports finger width */
Bool has_scrollbuttons; /* device has physical scrollbuttons */
enum TouchpadModel model; /* The detected model */