]> Pileus Git - ~andy/linux/commit
HID: multitouch: add support for trackpads
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Sat, 4 Feb 2012 16:08:48 +0000 (17:08 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 6 Feb 2012 12:22:38 +0000 (13:22 +0100)
commitc2ef8f21ea8f7c34dfa0b569fdee431348205955
tree0efcba9bc6b92f8f5eadb8cc861327fea676bc2b
parent7c7ed8ec337bf5f62cc5287a6eb6b2f1b7504c2f
HID: multitouch: add support for trackpads

* some multitouch trackpads present the touch usage. This needs to be
filtered as it will conflict with mt-implementation.
* trackpads send BTN_TOOL_* to notify how many fingers are present
(this is used by xorg to use synaptics instead of generic evdev)
* trackpads like Perixx 701 are not different from a hid point of view
from a touchscreen, and we need to manually set them as touchpad.

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