mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 18:10:28 +01:00
test: add a comment to the thumb speed test
Incorrect comment, the purpose of this test was to ensure that an unused slot
doesn't affect how other touches are treated, see commit 928bad9.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
31d20acdf6
commit
832c346b2b
1 changed files with 4 additions and 3 deletions
|
|
@ -5169,15 +5169,16 @@ START_TEST(touchpad_thumb_speed_empty_slots)
|
|||
|
||||
litest_drain_events(li);
|
||||
|
||||
/* exceed the speed movement threshold in slot 0 */
|
||||
/* exceed the speed movement threshold in slot 0, then lift the
|
||||
* finger */
|
||||
litest_touch_down(dev, 0, 50, 20);
|
||||
litest_touch_move_to(dev, 0, 50, 20, 70, 99, 15);
|
||||
litest_touch_up(dev, 0);
|
||||
|
||||
litest_drain_events(li);
|
||||
|
||||
/* scroll in slots 1 and 2, despite another finger down this is a
|
||||
* 2fg gesture */
|
||||
/* now scroll in slots 1 and 2, this should be a normal scroll event
|
||||
* despite slot 0 exceeding the speed threshold earlier */
|
||||
litest_touch_down(dev, 1, 50, 50);
|
||||
litest_touch_down(dev, 2, 55, 50);
|
||||
libinput_dispatch(li);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue