From 704c0fa3b677d5d648d0ab9d65cd03043797f3bf Mon Sep 17 00:00:00 2001 From: Peter Zotov Date: Fri, 2 Mar 2012 11:21:36 +1000 Subject: Implement a workaround for Elantech touchpads All Elantech touchpads report the number of fingers explicitly, and at least the v3 version of the hardware can report any pressure values down to zero. This interferes with the tap detection hysteresis, which is required for dumb touchpads. This commit implements a vendor-specific workaround for Elantech touchpads which sets the FingerLow and FingerHigh options to 1 by default, effectively disabling the hysteresis mechanism. Signed-off-by: Peter Zotov Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer Reviewed-by: Chase Douglas --- src/synapticsstr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/synapticsstr.h') diff --git a/src/synapticsstr.h b/src/synapticsstr.h index ba1eb13..d4daeba 100644 --- a/src/synapticsstr.h +++ b/src/synapticsstr.h @@ -112,7 +112,8 @@ enum TouchpadModel { MODEL_UNKNOWN = 0, MODEL_SYNAPTICS, MODEL_ALPS, - MODEL_APPLETOUCH + MODEL_APPLETOUCH, + MODEL_ELANTECH }; typedef struct _SynapticsParameters -- cgit v1.2.3