]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: alps - fix finger jumps on lifting 2 fingers on v7 touchpad
authorHans de Goede <hdegoede@redhat.com>
Wed, 20 May 2015 21:37:41 +0000 (14:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 20 May 2015 21:46:02 +0000 (14:46 -0700)
commit72eceab743cf61082357068e0686ffac66fe47e5
tree527ab486a388d32fcadd29be73f70856f7f7e6e8
parent3c0213d17a09601e0c6c0ae0e27caf70d988290f
Input: alps - fix finger jumps on lifting 2 fingers on v7 touchpad

On v7 touchpads sometimes when 2 fingers are moved down on the touchpad
until they "fall of" the touchpad, the second touch will report 0 for y
(max y really since the y axis is inverted) and max x as coordinates,
rather then reporting 0, 0 as is expected for a non touching finger.

This commit detects this and treats these touches as non touching.

See the evemu-recording here:
https://bugzilla.redhat.com/attachment.cgi?id=1025058

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1221200
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c