HID: hid-multitouch: Filter collections by application usage.
authorJeff Brown <jeffbrown@android.com>
Mon, 15 Aug 2011 23:44:28 +0000 (16:44 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 16 Aug 2011 09:38:44 +0000 (11:38 +0200)
commit658d4aed59b36f877edc668cc27b188a33e643e5
tree2ee21fb03c13e94df7c685441748135b5b980b21
parentf5fc87905ea075a0b14878086fd4fe38be128844
HID: hid-multitouch: Filter collections by application usage.

This change fixes two problems.

First, it ensures that the hid-multitouch driver does not incorrectly
map GenericDesktop usages that are intended for other applications,
such as a Mouse.

Second, it sets the appropriate input properties so that user-space
can distinguish TouchScreen devices (INPUT_PROP_DIRECT) from
TouchPad devices (INPUT_PROP_POINTER) and configure them accordingly.

Signed-off-by: jeffbrown@android.com
Acked-By: Benjamin Tissoires <Benjamin_Tissoires@logitech.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c