summaryrefslogtreecommitdiff
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorClinton Sprain <clintonsprain@gmail.com>2014-03-30 23:21:21 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-03-30 23:44:14 -0700
commit739204bc957750ca47254114b8ee49b00edfc18d (patch)
tree1fdee3d62dc85f356cdd5996192f499f15832998 /lib/nlattr.c
parent61cd4822dd810e1a3c28eab1af6005728906c0e4 (diff)
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>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions