Disregard touchless clicks on flaky devices
authorRobert Glossop <robgssp@gmail.com>
Tue, 11 Apr 2023 02:00:52 +0000 (02:00 +0000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 11 Apr 2023 02:00:52 +0000 (02:00 +0000)
commit57f0354ee59179d5e3b0735f6c2d01f7ac37c4af
tree83c3ad02f859788acbc16cdff0ee6a02438fd281
parent7c84fb87e9a2915ffbbe27a6398abb670bf09f43
Disregard touchless clicks on flaky devices

Some touchpads, notably those on the Dell XPS 15 9500, are prone to registering
touchpad clicks when the case is sufficiently flexed. Ignore these by
disregarding any clicks that are registered without touchpad touch.

Signed-off-by: Rob Glossop <robgssp@gmail.com>
meson.build
quirks/50-system-dell.quirks
src/evdev-mt-touchpad-buttons.c
src/quirks.c
src/quirks.h
test/litest-device-synaptics-phantomclicks.c [new file with mode: 0644]
test/litest.h
test/test-device.c
test/test-touchpad-buttons.c
test/test-touchpad.c