From 75459b1c0bb85ce0bbeb4270114edddb30ff3b1b Mon Sep 17 00:00:00 2001 From: Chris Bagwell Date: Mon, 19 Jul 2010 19:30:14 -0500 Subject: 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 Signed-off-by: Peter Hutterer --- src/synapticsstr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/synapticsstr.h') 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 */ -- cgit v1.2.3