evdev: when the kernel fuzz is nonzero, set ours to zero
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 25 Jun 2019 22:55:07 +0000 (08:55 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 27 Jun 2019 01:17:28 +0000 (11:17 +1000)
commit8d3788fa8cf7baab001021e9b258b77a586f015d
tree216fcad8d8631e01d4edb3d383585315e63cf5ac
parentaa538dc5c8ecf91a4f56167b4b820690a48841f4
evdev: when the kernel fuzz is nonzero, set ours to zero

Our udev callout is supposed to reset the kernel fuzz to 0 and move the value
to the LIBINPUT_FUZZ property. This is to stop the kernel from applying its
own hysteresis-like approach.

Where the kernel fuzz is nonzero, something has gone wrong with that approach.
Complain about it and set our fuzz to zero, we are in the hands of the kernel
now. If we leave our fuzz as nonzero, we'll apply our own hysteresis on top of
the kernel's and that leads to unresponsive behavior.

Fixes #313

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev.c
test/test-touchpad.c