Input: ads7846 - report 0 pressure value along with pen up event
commitae82d5ab05068fccef2329f4607670f24c41606f
authorImre Deak <imre.deak@nokia.com>
Wed, 26 Apr 2006 04:12:14 +0000 (26 00:12 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Wed, 26 Apr 2006 04:12:14 +0000 (26 00:12 -0400)
treebff0d33646f317e08d6974cc4073601c3939d6e1
parentc9e617a563ad646239270fa2222cdb06966cf1fa
Input: ads7846 - report 0 pressure value along with pen up event

X touchscreen drivers that don't interpret the designated pen up message
assume a pen up event from a pressure value 0. For these we generate a
pressure 0 message along with the pen up message.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Acked-by: Juha Yrjola <juha.yrjola@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c