使用libinput时如何更改鼠标滚动速度?

Sud*_*shu 18 mouse bluetooth xinput

我只能在 libinput 中找到滚动方法支持。

https://www.mankier.com/4/libinput http://wayland.freedesktop.org/libinput/doc/latest/group__config.html

如何更改蓝牙鼠标的滚动速度?我的 xinput 列表道具中没有相关道具。

libinput Accel Speed (276):     0.000000
    libinput Accel Speed Default (277):     0.000000
    libinput Natural Scrolling Enabled (278):       0
    libinput Natural Scrolling Enabled Default (279):       0
    libinput Send Events Modes Available (257):     1, 0
    libinput Send Events Mode Enabled (258):        0, 0
    libinput Send Events Mode Enabled Default (259):        0, 0
    libinput Left Handed Enabled (280):     0
    libinput Left Handed Enabled Default (281):     0
    libinput Scroll Methods Available (282):        0, 0, 1
    libinput Scroll Method Enabled (283):   0, 0, 0
    libinput Scroll Method Enabled Default (284):   0, 0, 0
    libinput Button Scrolling Button (662): 2
    libinput Button Scrolling Button Default (663): 274
    libinput Middle Emulation Enabled (664):        0
    libinput Middle Emulation Enabled Default (665):        0
Run Code Online (Sandbox Code Playgroud)

小智 3

meuh在 Unix 和 Linux 上已经回答了这个问题

简而言之,

当前没有用于更改 libinput 设备滚动速度的 api

所以必须使用其他方法来解决这个问题。


Jor*_*dan 1

我目前正在做“加速 Ubuntu 18.04 中的鼠标滚轮”作为解决方法。对这个解决方法不是特别满意,但它确实有效。