84005eb5ea
Finger touch events or very quick stylus events on low-quality panels can cause the tsc2007 to read bogus values. Looking at oscilloscope snapshots, this seems to be caused by the touch event disappearing during the measurements. These bogus values result in misclicks, where the X and Y values deviate from the real position. Most of these misclicks can be filtered out by setting a low enough threshold for the maximum resistance (which is loosely the inverse of the pressure) allowed to consider a set of values valid. Since this behaviour is largely dependent on the type and quality of the panel, this commit introduces the max_rt parameter. The default value is kept at MAX_12BIT. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> |
||
---|---|---|
.. | ||
adp5588.h | ||
adp8860.h | ||
ads1015.h | ||
apds990x.h | ||
at24.h | ||
atmel_mxt_ts.h | ||
bh1770glc.h | ||
dm355evm_msp.h | ||
ds620.h | ||
lm8323.h | ||
ltc4245.h | ||
max732x.h | ||
max6639.h | ||
mcs.h | ||
mpr121_touchkey.h | ||
pca953x.h | ||
pca954x.h | ||
pcf857x.h | ||
pmbus.h | ||
pxa-i2c.h | ||
s6000.h | ||
sx150x.h | ||
tps65010.h | ||
tsc2007.h | ||
twl.h | ||
twl4030-madc.h |