river icon indicating copy to clipboard operation
river copied to clipboard

Implement a scroll-factor command

Open mmskv opened this issue 4 years ago • 2 comments

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.

mmskv avatar Jan 07 '22 20:01 mmskv

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!

itshog avatar Apr 06 '23 08:04 itshog

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.

Leon-Plickat avatar Apr 06 '23 17:04 Leon-Plickat

This never got finished and is now quite out of date. Feel free to open a new PR to continue this work.

ifreund avatar Mar 22 '24 11:03 ifreund