touchpad: pretend the jumpy semi-mt touchpad is a single-touch touchpad
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 30 Jul 2015 01:54:38 +0000 (11:54 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 3 Aug 2015 01:40:29 +0000 (11:40 +1000)
commit7013a20f8b6a441a5f80b84aa261c32dd8011f95
tree4582b04fc704874d9a4f9ff12446768c7de003b1
parent6933062dab0fa65d131e44bab2f7ace3563d9731
touchpad: pretend the jumpy semi-mt touchpad is a single-touch touchpad

The first finger is accurate, it's just the second finger that is imprecise,
so we can't handle it as a true touch. Instead, revert the device back to
being a single-touch touchpad and use the fake touch bits for second finger
handling.

Two-finger scrolling thus becomes usable though we will lose out on
other features like thumb detection. Useful scrolling trumps that though.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
src/evdev-mt-touchpad.c
test/touchpad-tap.c
test/touchpad.c