mirror of
https://github.com/X11Libre/xf86-input-libinput.git
synced 2026-03-24 01:24:04 +00:00
Add xorg option ScrollFactor. Add xinput option "libinput Scrolling Factor". This works well in xi2 applications where they receive the raw scroll value, however applications that use the core x11 protocol only for input receive a scroll button press. The frequency this scroll button press event is sent depends on the value of ScrollFactor, so it works in such applications as well but the scrolling wont be as "smooth" as if they used xi2. gtk, qt, chromium (and electron) applications seem to use xi2 while firefox does not, unless you set the MOZ_USE_XINPUT2=1 environment variable. Signed-off-by: dec05eba <dec05eba@protonmail.com>