hid-multitouch: Filter collections by application usage.
authorJeff Brown <jeffbrown@google.com>
Sun, 24 Jul 2011 21:31:14 +0000 (14:31 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:22:58 +0000 (12:22 -0800)
commit6f078e3a00ad424718264aa03fbee9b4d3e239e2
treead5db65b754fd1d54f90f14a04f15c823ff245c7
parent4a1c2f99b642e37c26843af15ccdcb643fb97a86
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.

Change-Id: I8c2d947929186ffe7cf04b37c76e29b9abecf8cb
Signed-off-by: jeffbrown@android.com
drivers/hid/hid-multitouch.c