]> Pileus Git - ~andy/linux/commit
HID: detect Win 8 multitouch devices in core
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 22 Aug 2013 12:51:08 +0000 (14:51 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 27 Aug 2013 08:00:00 +0000 (10:00 +0200)
commitf961bd3516e4f699bbacff5d7f5247d6d87c59f0
treeecc8cb61c11e00419a8fed6f277517c4f8aed711
parent3dc8fc083dbfeede7b63a0c07581192e97711365
HID: detect Win 8 multitouch devices in core

Detecting Win 8 multitouch devices in core allows us to set quirks
before the device is parsed through hid_hw_start().
It also simplifies the detection of those devices in hid-multitouch and
makes the handling of those devices cleaner.

As Win 8 multitouch panels are in the group multitouch and rely on a
special feature to be detected, this patch adds a bitfield in the parser.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Tested-by: Srinivas Pandruvada<srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-multitouch.c
include/linux/hid.h