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)
commit739204bc957750ca47254114b8ee49b00edfc18d
tree1fdee3d62dc85f356cdd5996192f499f15832998
parent61cd4822dd810e1a3c28eab1af6005728906c0e4
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