test: fix hover test to avoid the edge scroll zone

On the synaptics hover device where this test is run, we'd eventually get into
the edge scroll zone. When edge scrolling is enabled this causes the test to
fail.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-07-14 12:06:03 +10:00
parent 32ea86559b
commit 2447f3862c

View file

@ -2787,8 +2787,8 @@ START_TEST(touchpad_semi_mt_hover_down_hover_down)
litest_event(dev, EV_SYN, SYN_REPORT, 0);
for (j = 0; j < 5; j++) {
x += 200;
y += 200;
x -= 200;
y -= 200;
litest_event(dev, EV_ABS, ABS_MT_POSITION_X, x);
litest_event(dev, EV_ABS, ABS_MT_POSITION_Y, y);
litest_event(dev, EV_ABS, ABS_X, x);