test: fix a pressure test to movement during tap

The motion event here was intended to offset the light pressure from the
extended touch down. This also causes motion past the tap threshold and won't
work with a future patch.

Make the touch "real" by simply plaing a normal movement in the current
position - the kernel will filter and we'll just update the pressure.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-11-11 14:20:57 +10:00
parent 6f4ca7cd50
commit c5f5a0fa7b

View file

@ -6057,7 +6057,7 @@ START_TEST(touchpad_pressure_btntool)
libinput_dispatch(li);
/* make one finger real */
litest_touch_move_to(dev, 0, 40, 50, 41, 52, 10);
litest_touch_move(dev, 0, 40, 50);
litest_drain_events(li);
/* tripletap should now be 3 fingers tap */