Commit c5f5a0fa authored by Peter Hutterer's avatar Peter Hutterer

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's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 6f4ca7cd
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment