OSDN Git Service

HID: hid-multitouch: Auto detection of maxcontacts
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Fri, 18 Mar 2011 13:27:52 +0000 (14:27 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 27 Aug 2011 10:44:34 +0000 (18:44 +0800)
commitf8772682160f5e85bb7e0ea6f2bd8a2e70d92d67
treebb1932af1097d8f201733d18c32d23513d0be089
parentc8d0fe327b321a7656d7f33fddfa833e3c558c22
HID: hid-multitouch: Auto detection of maxcontacts

This patch enables support of autodetection of maxcontacts.
When adding support for a new device, one is now able to let
the device tell how many contacts it supports, or to manually
set the value if the device happens to provide wrong information.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Reviewed-by: Stéphane Chatty <chatty@enac.fr>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c