mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 20:30:04 +01:00
test: use a few more events for some of the tests with large pointer movements
Don't move across the touchpad in one single event, it looks like a cursor jump that we're trying to detect in future patches. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
4fdaa1b2a9
commit
774be50e68
2 changed files with 3 additions and 3 deletions
|
|
@ -1143,7 +1143,7 @@ START_TEST(gestures_time_usec)
|
|||
50, 40,
|
||||
60, 40,
|
||||
0, 30,
|
||||
4, 2);
|
||||
10, 2);
|
||||
|
||||
libinput_dispatch(li);
|
||||
event = libinput_get_event(li);
|
||||
|
|
@ -1178,7 +1178,7 @@ START_TEST(gestures_3fg_buttonarea_scroll)
|
|||
40, 20,
|
||||
30, 20,
|
||||
0, 40,
|
||||
4, 2);
|
||||
10, 2);
|
||||
|
||||
litest_touch_up(dev, 0);
|
||||
litest_touch_up(dev, 1);
|
||||
|
|
|
|||
|
|
@ -991,7 +991,7 @@ START_TEST(touchpad_palm_detect_palm_becomes_pointer)
|
|||
litest_drain_events(li);
|
||||
|
||||
litest_touch_down(dev, 0, 99, 50);
|
||||
litest_touch_move_to(dev, 0, 99, 50, 0, 70, 5, 0);
|
||||
litest_touch_move_to(dev, 0, 99, 50, 0, 70, 20, 0);
|
||||
litest_touch_up(dev, 0);
|
||||
|
||||
libinput_dispatch(li);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue