libinput/udev
Peter Hutterer 085a33d545 Revert "udev: copy the trackpoint sensitivity directly from sysfs"
The lenovo compact keyboard with trackpoint has a sensitivity of 5, which
causes the trackpoint range to be 0. This in turn causes inf/NaN during
pointer acceleration as we divide by 0 and makes the cursor go unpredictably
somewhere it probably shouldn't be.

This is part of a wider problem in that the current sensitivity handling
doesn't work well for values well below the default of 128. Any such values
are scaled up to multiples of pixels instead of just working as-is.

Reverting the automatic sensitivity parsing, any systemd udev property set to
change the sensitivity increases it, so we don't run into this bug.

https://bugzilla.redhat.com/show_bug.cgi?id=1583324

This reverts commit a4036a33ca.
2018-06-04 08:44:11 +10:00
..
80-libinput-device-groups.rules.in udev: don't overwrite a previously set device group 2016-08-01 07:13:05 +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 udev: drop the custom firmware detection code in favor of a modalias 2018-05-31 13:09:33 +10:00
90-libinput-model-quirks.rules.in Revert "udev: copy the trackpoint sensitivity directly from sysfs" 2018-06-04 08:44:11 +10:00
libinput-device-group.c Silence coverity warning about uninitialized entry 2018-02-16 16:57:30 +10:00
libinput-model-quirks.c udev: drop the JUMPING_SEMI_MT quirk, no-one uses it 2018-05-31 13:09:37 +10:00
parse_hwdb.py udev: drop the custom firmware detection code in favor of a modalias 2018-05-31 13:09:33 +10:00