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)
committerArve Hjønnevåg <arve@android.com>
Mon, 8 Feb 2010 23:07:52 +0000 (15:07 -0800)
commit00757787ddca64ccaf624394d169a79e647c0865
tree827db51c86f1edad4a973cac477b8dd40e9be88e
parent3929c1894c66d55c076be4e88780ff3205958411
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