evdev: disable pressure on the Asus UX302LA touchpad
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Sep 2018 23:20:18 +0000 (09:20 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 26 Sep 2018 03:49:13 +0000 (13:49 +1000)
commitb6195694d8a6026c56c912f99c8ffda4dbb07553
tree0367cc854c200d5531c583c6a0f548df0aed8ebb
parent4bf471f5141ec94b97e0d6a284352b8c1fe97c70
evdev: disable pressure on the Asus UX302LA touchpad

This touchpad stops sending pressure data after the first frame of the second
finger down. If the initial pressure is too light, the finger doesn't get
detected even when the pressure increases in the future.

This thing is from 2014, so let's just disable the pressure axes on it
and skip the pressure-based touch detection code. Let's hope that it doesn't
also have ghost touches on light interactions...

Fixes #145

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
quirks/50-system-asus.quirks
src/evdev.c
src/quirks.c
src/quirks.h