From 5bcfbfe9dc14a32a91a96fbca25ce1a819f2e490 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 20 Jun 2019 13:34:10 +1000 Subject: [PATCH] test: change touchpad 2fg no-motion test to move both fingers simultaneously In the future we may allow motion with one finger on the touchpad. Signed-off-by: Peter Hutterer --- test/test-touchpad.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test-touchpad.c b/test/test-touchpad.c index e22fa6d9..1be38a82 100644 --- a/test/test-touchpad.c +++ b/test/test-touchpad.c @@ -99,8 +99,7 @@ START_TEST(touchpad_2fg_no_motion) litest_touch_down(dev, 0, 20, 20); litest_touch_down(dev, 1, 70, 20); - litest_touch_move_to(dev, 0, 20, 20, 80, 80, 20); - litest_touch_move_to(dev, 1, 70, 20, 80, 50, 20); + litest_touch_move_two_touches(dev, 20, 20, 70, 20, 20, 30, 20); litest_touch_up(dev, 1); litest_touch_up(dev, 0);