Implement a scroll-factor command
This PR implements a scroll-factor input setting that allows to control scroll speed
See https://github.com/swaywm/sway/pull/3018:
This PR adds a scroll_factor input command whose value is used as a multiplier for axis event deltas received from a device. Put simply, this means that scrolling speed can now be adjusted, a configuration feature that libinput itself lacks. At least on my laptop's touchpad, such a change is sorely needed.
For example, adding scroll_factor 0.5 under a device's input section will make scrolling half as fast.
Hey, any chance to revive this PR for 0.3 release? On my laptop scrolling with the touchpad is basically unusable with the default scroll factor of libinput. I know i could use something like this, but it feels kind of a hacky workaround, especially since other wayland compositors (Sway and Hyprland come to mind) implement a "native" solution.
Anyway, thanks for the amazing project!
This is a rather simple PR, so anyone could revive it if they wanted to.
Although I should add that unwanted scroll-behaviour is usually a client bug. A client should react different to high-res scroll devices than to "normal" scrolling.
This never got finished and is now quite out of date. Feel free to open a new PR to continue this work.