mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-31 08:50:09 +01:00
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:
parent
6f4ca7cd50
commit
c5f5a0fa7b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue