Home
last modified time | relevance | path

Searched hist:"05 e882f890038c702a4f15d385135d03cf74ad48" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/mouse/
H A Dappletouch.cdiff 05e882f890038c702a4f15d385135d03cf74ad48 Wed Jun 03 09:29:39 CDT 2009 Jeremy Huddleston <jeremyhu@freedesktop.org> Input: appletouch - improve finger detection

The appletouch driver is prone to reporting multiple fingers when only
one is pressing. The appletouch driver queries an array of pressure
sensors and counts local maxima in pressure to determine the number of
fingers. It just does this on the raw values, so a data stream like:

0 100 250 300 299 300 250 100 0

actually registers as 2 fingers.

This patch updates the logic to ignore small dips in pressure that are
less than the threshold.

Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>