提高滑鼠速度(xinput)

提高滑鼠速度(xinput)

我不知道如何提高滑鼠速度。幾週前xset工作正常。現在,我使用命令來提高速度

xinput --set-prop 'USB OPTICAL MOUSE' 'libinput Accel Speed' 1

但這對我來說還不夠。滑鼠上可用的選項清單:

Device 'USB OPTICAL MOUSE':
    Device Enabled (152):   1
    Coordinate Transformation Matrix (154): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Accel Speed (288):     1.000000
    libinput Accel Speed Default (289):     0.000000
    libinput Accel Profiles Available (290):        1, 1
    libinput Accel Profile Enabled (291):   1, 0
    libinput Accel Profile Enabled Default (292):   1, 0
    libinput Natural Scrolling Enabled (293):       0
    libinput Natural Scrolling Enabled Default (294):       0
    libinput Send Events Modes Available (273):     1, 0
    libinput Send Events Mode Enabled (274):        0, 0
    libinput Send Events Mode Enabled Default (275):        0, 0
    libinput Left Handed Enabled (295):     0
    libinput Left Handed Enabled Default (296):     0
    libinput Scroll Methods Available (297):        0, 0, 1
    libinput Scroll Method Enabled (298):   0, 0, 0
    libinput Scroll Method Enabled Default (299):   0, 0, 0
    libinput Button Scrolling Button (300): 2
    libinput Button Scrolling Button Default (301): 2
    libinput Middle Emulation Enabled (302):        0
    libinput Middle Emulation Enabled Default (303):        0
    Device Node (276):      "/dev/input/event2"
    Device Product ID (277):        2362, 9505
    libinput Drag Lock Buttons (304):       <no items>
    libinput Horizontal Scroll Enabled (305):       1

我用的是 X,不是 Wayland。

答案1

我需要應用變換矩陣:

 xinput --set-prop 'USB OPTICAL MOUSE' 'Coordinate Transformation Matrix' 2 0 0 0 2 0 0 0 1.5 

更多詳細資訊請參閱此處:如何設定滑鼠靈敏度,而不僅僅是滑鼠加速度?

相關內容