diff options
author | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2013-01-31 17:22:26 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-02-05 12:07:40 +0100 |
commit | c629dd7eb3b43bb09eecb035f016bdca32dc8acf (patch) | |
tree | 038e39325db18bb77ad5c63e3cf231fea0847f1c /drivers/hid | |
parent | c2517f62dac608e43b652dc6ed1e478e8447e029 (diff) | |
download | linux-c629dd7eb3b43bb09eecb035f016bdca32dc8acf.tar.bz2 |
HID: multitouch: fix Win8 protocol for Sharp like devices
The Sharp LC-20FE1-W screen (04dd:9681) behaves like the Nexio 42".
It may report out of ranges values that are filtered out by relying
on the Contact Count HID field.
Adding the quirk MT_QUIRK_CONTACT_CNT_ACCURATE makes hid-multitouch
strongest against this kind of device, without breaking the current
devices.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-multitouch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 87690e2726ac..1cf676d93049 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -311,6 +311,7 @@ static void mt_feature_mapping(struct hid_device *hdev, *quirks |= MT_QUIRK_ALWAYS_VALID; *quirks |= MT_QUIRK_IGNORE_DUPLICATES; *quirks |= MT_QUIRK_HOVERING; + *quirks |= MT_QUIRK_CONTACT_CNT_ACCURATE; *quirks &= ~MT_QUIRK_NOT_SEEN_MEANS_UP; *quirks &= ~MT_QUIRK_VALID_IS_INRANGE; *quirks &= ~MT_QUIRK_VALID_IS_CONFIDENCE; |