]> git.baikalelectronics.ru Git - kernel.git/commit
Input: appletouch - implement sensor data smoothing
authorClinton Sprain <clintonsprain@gmail.com>
Mon, 31 Mar 2014 06:21:21 +0000 (23:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 31 Mar 2014 06:44:14 +0000 (23:44 -0700)
commited5de5111c5331d725fb370767bfad0ae3da365f
tree1fdee3d62dc85f356cdd5996192f499f15832998
parent4a95b004524aa0c47841f6b4db67794e36deadfb
Input: appletouch - implement sensor data smoothing

Use smoothed version of sensor array data to calculate movement and add
weight to prior values when calculating average. This gives more granular
and more predictable movement.

Signed-off-by: Clinton Sprain <clintonsprain@gmail.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/appletouch.c