HID: multitouch: enable palm rejection for Windows Precision Touchpad
authorAllen Hung <allen_hung@dell.com>
Thu, 23 Jun 2016 08:31:30 +0000 (16:31 +0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 Jun 2016 11:24:14 +0000 (13:24 +0200)
commit6dd2e27a103d716921cc4a1a96a9adc0a8e3ab57
tree8a5a00fbf90ed15d8e153fd6e3d531cb41b7523d
parent62630ea768869beeb1e514b0bf5607a0c9b93d12
HID: multitouch: enable palm rejection for Windows Precision Touchpad

The usage Confidence is mandary to Windows Precision Touchpad devices. If
it is examined in input_mapping on a WIndows Precision Touchpad, a new add
quirk MT_QUIRK_CONFIDENCE desgned for such devices will be applied to the
device. A touch with the confidence bit is not set is determined as
invalid.

Tested on Dell XPS13 9343

Cc: stable@vger.kernel.org # v4.5+
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Andy Lutomirski <luto@kernel.org> # XPS 13 9350, BIOS 1.4.3
Signed-off-by: Allen Hung <allen_hung@dell.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c