mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
add44b3e2e
When the client doesn't support high-resolution scroll, accumulate deltas until we can notify a discrete event. Some mice have a free spinning wheel, making possible to lock the wheel when the accumulator value is not 0. To avoid synchronization issues between the mouse wheel and the accumulators, store the last delta and when the scroll direction changes, reset the accumulator. |
||
---|---|---|
.. | ||
wlr_seat.c | ||
wlr_seat_keyboard.c | ||
wlr_seat_pointer.c | ||
wlr_seat_touch.c |