HID: hid-multitouch: migrate 3M PCT touch screens to hid-multitouch
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Tue, 22 Mar 2011 16:34:01 +0000 (17:34 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 24 Mar 2011 11:44:45 +0000 (12:44 +0100)
commitf786bba4499cf3de20da345ce090457ebcef03b0
tree8b26ca5808f3c711f9da708f89dba8a3c8ea82e5
parent1e648a13720ef5de51f132501acf3e443d1a36d4
HID: hid-multitouch: migrate 3M PCT touch screens to hid-multitouch

This patch merges the hid-3m-pct driver into hid-multitouch.
To keep devices working the same way they used to with hid-3m-pct,
we need to add two signal/noise ratios for width and height.
We also need to work on width/height to send proper
ABS_MT_ORIENTATION flag.

Importing 3M into hid-multitouch also solved the bug in which
devices handling width and height in their report descriptors
did not show ABS_MT_TOUCH_MAJOR and ABS_MT_TOUCH_MINOR.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Reviewed-by: Stéphane Chatty <chatty@enac.fr>
Reviewed-and-tested-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-3m-pct.c [deleted file]
drivers/hid/hid-multitouch.c