libevdev/tools
Peter Hutterer 61f0a0f9ad tools: print the mean frequency together with the max frequency
And if they're 30% out, print a warning. On the ThinkPad X1 Wireless Touch
Mouse (when connected via bluetooth) we get a bunch of events at the start of
the movement, all less than 1ms apart. Best guess is that the device goes to
low-power, then notices the movement and buffers the event until the BT
connection is back up. Then it sends all events at once. Usually they're less
than 1ms apart, but at one recording showed a 37ms delay before we go back to
the normal 70ms (~15Hz) the mouse has otherwise.

This is unpredictable enough that we can't just work around it so instead
print a warning to the user so they can go investigate.

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2016-09-21 16:57:29 +10:00
..
.gitignore tools: add a tool to change kernel devices 2015-02-04 11:02:02 +10:00
libevdev-events.c tools: pass -rc to strerror, not rc 2014-08-22 11:50:15 +10:00
libevdev-tweak-device.1 tools - tweak-device: add a --resolution command 2015-07-01 11:59:20 +10:00
libevdev-tweak-device.c tools: allow numeric axis values in tweak-device 2016-04-22 10:10:39 +10:00
Makefile.am tools: add a tool to change kernel devices 2015-02-04 11:02:02 +10:00
mouse-dpi-tool.c tools: print the mean frequency together with the max frequency 2016-09-21 16:57:29 +10:00
publish-doc Point to new API documentation URL 2013-07-22 08:34:55 +10:00
touchpad-edge-detector.c tools: fix kernel-announced width/height 2016-09-15 11:57:52 +10:00