Input: ad7877 - implement EV_KEY:BTN_TOUCH reporting
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 15 Oct 2010 16:49:07 +0000 (09:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 04:12:18 +0000 (21:12 -0700)
commit47026b25fc6cd2d7ec85d4a83c472bca20946a94
tree2a5d1c118a49c7d5c34271212dec4f30c3bb2915
parente92c27fb5319d8b12f0c291c827e252f0e17afc4
Input: ad7877 - implement EV_KEY:BTN_TOUCH reporting

Some input users such as Android or X 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.

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