linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"
@ 2016-06-23  8:31 Allen Hung
  2016-06-23  8:31 ` [PATCH 2/2] HID: multitouch: enable palm rejection for Windows Precision Touchpad Allen Hung
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Allen Hung @ 2016-06-23  8:31 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires; +Cc: linux-input, LKML, Allen Hung

This reverts commit 25a84db15b3f ("HID: multitouch: enable palm rejection
if device implements confidence usage")

The commit enables palm rejection for Win8 Precision Touchpad devices but
the quirk MT_QUIRK_VALID_IS_CONFIDENCE it is using is not working very
properly. This quirk is originally designed for some WIn7 touchscreens. Use
of this for a Win8 Precision Touchpad will cause unexpected pointer jumping
problem.

Signed-off-by: Allen Hung <allen_hung@dell.com>
---
 drivers/hid/hid-multitouch.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 95b7d61..4ef7006 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -502,11 +502,6 @@ static int mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi,
 			mt_store_field(usage, td, hi);
 			return 1;
 		case HID_DG_CONFIDENCE:
-			if (cls->name == MT_CLS_WIN_8 &&
-				field->application == HID_DG_TOUCHPAD) {
-				cls->quirks &= ~MT_QUIRK_ALWAYS_VALID;
-				cls->quirks |= MT_QUIRK_VALID_IS_CONFIDENCE;
-			}
 			mt_store_field(usage, td, hi);
 			return 1;
 		case HID_DG_TIPSWITCH:
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-06-30 14:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-23  8:31 [PATCH 1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage" Allen Hung
2016-06-23  8:31 ` [PATCH 2/2] HID: multitouch: enable palm rejection for Windows Precision Touchpad Allen Hung
2016-06-27 14:18   ` Benjamin Tissoires
2016-06-27 17:55 ` [PATCH 1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage" Andy Lutomirski
2016-06-27 22:25   ` Andy Lutomirski
2016-06-28 17:38     ` Andy Lutomirski
2016-06-28 11:26   ` Jiri Kosina
2016-06-27 22:13 ` [1/2] " Mario Limonciello
2016-06-29 18:31 ` Mario Limonciello
2016-06-30  7:39   ` Jiri Kosina
2016-06-30 14:43     ` Mario_Limonciello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).