From 657f6a9b7767e21f8f075a870eed526ec19fcd7a Mon Sep 17 00:00:00 2001 From: Stephen Chandler Paul Date: Mon, 16 Feb 2015 22:48:45 -0500 Subject: [PATCH] tablet: Update motion_event_state test to use litest_tablet_motion() Signed-off-by: Stephen Chandler Paul Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- test/tablet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tablet.c b/test/tablet.c index 036d701a..27249fcb 100644 --- a/test/tablet.c +++ b/test/tablet.c @@ -382,7 +382,7 @@ START_TEST(motion_event_state) /* couple of events that go left/bottom to right/top */ for (test_x = 0, test_y = 100; test_x < 100; test_x += 10, test_y -= 10) - litest_tablet_proximity_in(dev, test_x, test_y, axes); + litest_tablet_motion(dev, test_x, test_y, axes); libinput_dispatch(li); @@ -407,7 +407,7 @@ START_TEST(motion_event_state) litest_event(dev, EV_SYN, SYN_REPORT, 0); for (test_x = 100, test_y = 0; test_x > 0; test_x -= 10, test_y += 10) - litest_tablet_proximity_in(dev, test_x, test_y, axes); + litest_tablet_motion(dev, test_x, test_y, axes); libinput_event_destroy(event); libinput_dispatch(li);