Input: synaptics_i2c_rmi: Send new multi touch events
authorArve Hjønnevåg <arve@android.com>
Tue, 21 Jul 2009 03:11:31 +0000 (20:11 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:08:49 +0000 (09:08 -0700)
commit90229d879bf1d6b712cf30f78dc5b405f6670f1c
tree9a027ac8edc55a2890477c58f43dfb540bc2814b
parent1d1ca9632238af23e6266fe4f4660a2ffa9fe6aa
Input: synaptics_i2c_rmi: Send new multi touch events

Send both fingers using the new multitouch protocol in addition to
the old single finger event and second finger ABS_HAT* hack.

The new protocol does not specify how to report up events. To make
sure the user-space frameworks can generate up events, we send at
least one event where ABS_MT_TOUCH_MAJOR is zero before we stop
sending events for a finger.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/input/touchscreen/synaptics_i2c_rmi.c