]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
Input: ad7879 - report EV_KEY/BTN_TOUCH events
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 30 Jun 2010 21:51:10 +0000 (14:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Jul 2010 20:13:20 +0000 (13:13 -0700)
commit963ce8ae6dbc7c8dffb1b117ba14673d40b22dda
tree97603f28d05852c4609e3ea4161d4d35362a0b05
parent447b9065b418cbeb6a03ebdcd08629ac26ed8e4a
Input: ad7879 - report EV_KEY/BTN_TOUCH events

Some input events users such as Android require BTN_TOUCH events.
Implement EV_KEY/BTN_TOUCH and make sure that the release event
is not erroneous scheduled without a preceding valid touch.
Avoid duplicated BTN_TOUCH events, even though input core filters
them.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ad7879.c