Scrolling Distance equivalent in libinput

Ari ari.reads at gmail.com
Thu Aug 11 14:32:28 UTC 2016


Using the MX Master mouse that has two wheels: the standard scrolling wheel
('vertical scrolling') and a small "horizontal scrolling wheel" AKA
thumbwheel.


In the past with evdev, it was possible to reduce the sensitivity of the
thumbwheel (i.e. to have to rotate it more before it triggers an event)
with:

xinput set-prop 11 "Evdev Scrolling Distance" 1 2 1

With libinput, I couldn't find any equivalent property:


xinput list-props 11
Device 'Logitech MX Master':
Device Enabled (133): 1
Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Accel Speed (269): -0.182511
libinput Accel Speed Default (270): 0.000000
libinput Accel Profiles Available (271): 1, 1
libinput Accel Profile Enabled (272): 1, 0
libinput Accel Profile Enabled Default (273): 1, 0
libinput Natural Scrolling Enabled (274): 0
libinput Natural Scrolling Enabled Default (275): 0
libinput Send Events Modes Available (253): 1, 0
libinput Send Events Mode Enabled (254): 0, 0
libinput Send Events Mode Enabled Default (255): 0, 0
libinput Left Handed Enabled (276): 0
libinput Left Handed Enabled Default (277): 0
libinput Scroll Methods Available (278): 0, 0, 1
libinput Scroll Method Enabled (279): 0, 0, 0
libinput Scroll Method Enabled Default (280): 0, 0, 0
libinput Button Scrolling Button (281): 2
libinput Button Scrolling Button Default (282): 274
libinput Middle Emulation Enabled (283): 0
libinput Middle Emulation Enabled Default (284): 0
Device Node (256): "/dev/input/event6"
Device Product ID (257): 1133, 16449
libinput Drag Lock Buttons (285):
libinput Horizonal Scroll Enabled (258): 1
$


The setting "Horizontal Scroll Enabled"  does enable/disable the thumbwheel.
I could also see that the thumbwheel uses button events (buttons 6 and 7,
for each scroll direction)

Question is: is there a way to lower the "sensitivity" of the horizontal
scrolling wheel with libinput? something equivalent to "scrolling distance"
in evdev?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160811/9601f1dd/attachment.html>


More information about the wayland-devel mailing list