OSDN Git Service

HID: add autodetection of multitouch devices
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Mon, 14 Feb 2011 12:42:12 +0000 (13:42 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 6 Apr 2011 03:14:50 +0000 (11:14 +0800)
commit600e958f2be27eb984219641193e582b19b29294
tree023a4a8efae779c372ef3784b087892139c0ccc0
parent79b101f951ac90f2dda213230b9744b5cc1b3c89
HID: add autodetection of multitouch devices

As mentioned by http://www.microsoft.com/whdc/device/input/DigitizerDrvs_touch.mspx
multitouch devices are those that have the input report HID_CONTACTID.

This patch detects this and unload the generic-usb driver.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
drivers/hid/hid-core.c
drivers/hid/hid-input.c
include/linux/hid.h