]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: ads7846 - improve filtering for thumb press accuracy
authorImre Deak <imre.deak@nokia.com>
Wed, 26 Apr 2006 04:13:18 +0000 (00:13 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Wed, 26 Apr 2006 04:13:18 +0000 (00:13 -0400)
commitd5b415c95f0e6510451f1446cea832c1f77bd7ea
tree39bd4140c5e80082c20a1a6a4a0bad1df83b63ca
parentae82d5ab05068fccef2329f4607670f24c41606f
Input: ads7846 - improve filtering for thumb press accuracy

Providing more accurate coordinates for thumb press requires additional
steps in the filtering logic:

- Ignore samples found invalid by the debouncing logic, or the ones that
  have out of bound pressure value.
- Add a parameter to repeat debouncing, so that more then two consecutive
  good readings are required for a valid sample.

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
include/linux/spi/ads7846.h