OSDN Git Service

hid-multitouch: Filter collections by application usage.
authorJeff Brown <jeffbrown@google.com>
Sun, 24 Jul 2011 21:31:14 +0000 (14:31 -0700)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 13 Dec 2014 15:13:52 +0000 (23:13 +0800)
commitc55afe17d79c56d8fad98cc90b6db79ca59c7e43
tree6b66a7792fd77126d25cdfefe874924164a475d1
parent08a825ecbcfe38d6c8bc0e919435c01b6f0e85e6
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