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>
Thu, 30 Sep 2010 00:49:13 +0000 (17:49 -0700)
commit13ff58d150aabf0a2b90d3a1764ffe0a68910979
treefcc4018832264ccf70217834a4e5020f1255b30c
parent4a5096fcd45de84b277bc5583f35ee3e4a2d15b0
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