OSDN Git Service

HID: hid-multitouch: migrate 3M PCT touch screens to hid-multitouch
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Mon, 4 Apr 2011 08:47:48 +0000 (10:47 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 6 Apr 2011 03:14:02 +0000 (11:14 +0800)
commit79b101f951ac90f2dda213230b9744b5cc1b3c89
tree95a04bbd362a04193abfdda034528661eb7e84ab
parentf9f877dc6628f38190f350761a94f5962b39c49e
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-multitouch.c