mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 23:20:06 +01:00
We send two delta events. One may get eaten or softened by the accel code but our expectation should be that both may get through, so the length of the expected vector is √((2dx)² + (2dy)²). That is the maximum length we expect though for deltas ranged [-1, 1]. Deltas above the threshold would fail this test but we can fix that when needed. Pointer acceleration is subject to timing changes. When running tests in valgrind pointer accel timeouts and tracker resets may happen so we can't guarantee a specific acceleration length. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> |
||
|---|---|---|
| .. | ||
| 50-litest.conf | ||
| build-cxx.cc | ||
| build-pedantic.c | ||
| keyboard.c | ||
| litest-bcm5974.c | ||
| litest-int.h | ||
| litest-keyboard.c | ||
| litest-mouse.c | ||
| litest-synaptics-st.c | ||
| litest-synaptics-t440.c | ||
| litest-synaptics.c | ||
| litest-trackpoint.c | ||
| litest-wacom-touch.c | ||
| litest.c | ||
| litest.h | ||
| log.c | ||
| Makefile.am | ||
| misc.c | ||
| path.c | ||
| pointer.c | ||
| touch.c | ||
| touchpad.c | ||
| udev.c | ||
| valgrind.suppressions | ||