diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-06-15 08:17:01 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-06-18 12:09:03 +0000 |
| commit | aea16ba5d2896ef22bf0bea45e5e8142c0ff1c2a (patch) | |
| tree | ea9307671be67dac5f76a13101e3733cadc87fee /unicode | |
| parent | osc: 52: treat OSC-52 replies as paste data (after all, they are) (diff) | |
input: implement wl_pointer::axis_value120()
This implements high resolution mouse wheel scroll events. A "normal"
scroll step corresponds to the value 120. Anything less than that is a
partial scroll step.
This event replaces axis_discrete(), when we bind wl_seat v8 (which we
now do, when available).
We calculate the number of degrees that is required to scroll a single
line, based off of the scrollback.multiplier value.
Each high-res event accumulates, until we have at least the number of
degress required to scroll one, or more lines.
The remaining degrees are kept, and added to in the next scroll event.
Closes #1738
Diffstat (limited to 'unicode')
0 files changed, 0 insertions, 0 deletions
