]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH 6/6] ads7846: improve filtering for thumb press accuracy
authorImre Deak <imre.deak@nokia.com>
Mon, 15 May 2006 07:41:32 +0000 (00:41 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 15 May 2006 07:41:32 +0000 (00:41 -0700)
commit4b3b582fb399e5698ed6060e3e025165c0490fe4
tree5ea33defc8b310b968696dbc2f098a1aa5eb1637
parentff1d03fe91b16df21ccc429d08ece9bf6484d3bf
[PATCH 6/6] 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