mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 19:20:31 +01:00
test: combine two REL_WHEEL_HI_RES events into one
This would be a kernel bug to send wheel events like this so let's not test it this way. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1187>
This commit is contained in:
parent
42c685dbb0
commit
550ffc1160
1 changed files with 1 additions and 2 deletions
|
|
@ -896,8 +896,7 @@ START_TEST(pointer_scroll_wheel_inhibit_dir_change)
|
|||
litest_drain_events(dev->libinput);
|
||||
|
||||
/* Scroll one detent and a bit */
|
||||
litest_event(dev, EV_REL, REL_WHEEL_HI_RES, 120);
|
||||
litest_event(dev, EV_REL, REL_WHEEL_HI_RES, 30);
|
||||
litest_event(dev, EV_REL, REL_WHEEL_HI_RES, 150);
|
||||
litest_event(dev, EV_SYN, SYN_REPORT, 0);
|
||||
litest_dispatch(li);
|
||||
test_high_and_low_wheel_events_value(dev, REL_WHEEL_HI_RES, -150);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue