touchpad: ratelimit the touch jump tests
authorPeter Hutterer <peter.hutterer@who-t.net>
Sat, 21 Mar 2020 11:03:32 +0000 (21:03 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sat, 21 Mar 2020 23:34:22 +0000 (09:34 +1000)
commitd6eef77dd240f5514c1a5b1d08ad268d3b86c64d
tree7a8d53fe826fa2f325e11762991462b4e84a7365
parentbf5229a601813293477d52797935673ccf09d875
touchpad: ratelimit the touch jump tests

In most cases these days touch jumps aren't actually fixable, they don't have
any good heuristics we can employ to remove them. And, luckily, in most cases
it doesn't matter because the users only notice the issue because of the error
message. To avoid spamming the user's log, let's ratelimit it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
doc/user/touchpad-jumping-cursors.rst
src/evdev-mt-touchpad.c
src/evdev-mt-touchpad.h