Input: appletouch - fix jumps when additional fingers are detected
authorClinton Sprain <clintonsprain@gmail.com>
Mon, 31 Mar 2014 06:37:05 +0000 (23:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 31 Mar 2014 06:44:17 +0000 (23:44 -0700)
commit7bbdba56ba9e01e610f7455c0375f9bbef84f3b1
tree32544e69b278ab1650639afd9ba451d20c1869c1
parent739204bc957750ca47254114b8ee49b00edfc18d
Input: appletouch - fix jumps when additional fingers are detected

Addresses issues related to when a second finger enters or leaves the
field, causing the cursor to jump or the page to scroll unexpectedly; now,
we discard any movement change that happens at the exact moment we detect a
change in the number of fingers touching the trackpad. This doesn't
completely resolve the issue but does greatly mitigate it.

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