Input: elo - add support for non-pressure-sensitive touchscreens
authorShaun Jackman <sjackman@gmail.com>
Sat, 5 Aug 2006 04:29:49 +0000 (00:29 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Sat, 5 Aug 2006 04:29:49 +0000 (00:29 -0400)
commitfae3006e4b42eafbed4af714e93cf6c2b92ff793
tree5b7ece07ff46be2f315de4ce6b15c6b0a2f823c8
parent1ce316efb55a1497d07d518853e60a4356abceb6
Input: elo - add support for non-pressure-sensitive touchscreens

- Use the touch status bit rather than the pressure bits to
  distinguish a BTN_TOUCH event. Non-pressure-sensitive touchscreens
  always report full pressure
- Report ABS_PRESSURE information only if the touchscreen supports it

Signed-off-by: Shaun Jackman <sjackman@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/elo.c