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>
Mon, 13 Apr 2015 16:42:57 +0000 (00:42 +0800)
commit1e1e9c6299e4d416766aa5204f5071381dcff311
tree410e26925725e8263e37edfb26c015159d96938c
parent80a53520a4b826ebf1896fbd7a96275b0d7765fc
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