libinput/udev
Peter Hutterer a608d9dc2c touchpad: add quirk for the T450 and T460 generation hardware
The touchpad's sensors are too far apart (or the firmware interferes), causing
in a jerky movement visible especially on slow motion. We get a bunch of
normal motion events, then only ABS_MT_PRESSURE updates without x/y updates.
After about one mm of movement x/y updates resume, with the first event
covering the distance between the last motion event. That event is usually
accelerated and thus causes a large jump. Subsequent events are sufficiently
fine-grained again.

This patch counts the number of non-motion events. Once we hit 10 in a row, we
mark the first motion update as non-dirty, effectively discarding the motion
and thus stopping the pointer jumps.

https://bugs.freedesktop.org/show_bug.cgi?id=94379

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2016-03-11 10:02:26 +10:00
..
.gitignore Ignore test devices for libinput contexts not run from the test suite 2015-07-28 17:42:32 +08:00
80-libinput-device-groups.rules.in udev: make sure the udev callout path is valid for a test run 2015-07-09 11:29:06 +10:00
80-libinput-test-device.rules Ignore test devices for libinput contexts not run from the test suite 2015-07-28 17:42:32 +08:00
90-libinput-model-quirks.hwdb touchpad: add quirk for the T450 and T460 generation hardware 2016-03-11 10:02:26 +10:00
90-libinput-model-quirks.rules.in evdev: disable the mode button on the Cyborg RAT 5 2016-02-01 08:37:41 +10:00
libinput-device-group.c Add missing copyright header to the udev callout 2015-06-30 13:32:14 +10:00
libinput-model-quirks.c touchpad: init a default hysteresis for ALPS rushmore touchpads 2016-02-10 08:08:31 +10:00
Makefile.am udev: include new udev rule in EXTRA_DIST 2015-08-04 10:26:43 +10:00