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)
committerJeff Brown <jeffbrown@google.com>
Tue, 16 Aug 2011 01:33:32 +0000 (18:33 -0700)
commitb3fe8ceed9c81686759388e34b675ddcd7463714
treeb7034b9f7b9adf49440f85ebcfb534bc41d8897f
parent44906417e5e3afe3d033f84fd4cab05ba2cf6993
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