Corsair M65ゲーミングマウスの場合、次のことを行いました。
$xinput --list --short
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Corsair Corsair M65 Gaming Mouse id=9 [slave pointer (2)]
⎜ ↳ Corsair Corsair M65 Gaming Mouse id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Corsair Corsair M65 Gaming Mouse id=10 [slave keyboard (3)]
↳ Metadot - Das Keyboard Das Keyboard id=12 [slave keyboard (3)]
↳ Metadot - Das Keyboard Das Keyboard id=13 [slave keyboard (3)]
↳ Corsair Corsair M65 Gaming Mouse id=14 [slave keyboard (3)]
したがって、私のマウスIDは9です。このマウスに関連付けられたレジスタを取得します。
$ xinput --list-props 9
Device Corsair Corsair M65 Gaming Mouse:
Device Enabled (149): 1
Coordinate Transformation Matrix (151): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (286): 0
libinput Natural Scrolling Enabled Default (287): 0
libinput Scroll Methods Available (288): 0, 0, 1
libinput Scroll Method Enabled (289): 0, 0, 0
libinput Scroll Method Enabled Default (290): 0, 0, 0
libinput Button Scrolling Button (291): 2
libinput Button Scrolling Button Default (292): 2
libinput Middle Emulation Enabled (293): 1
libinput Middle Emulation Enabled Default (294): 0
libinput Accel Speed (295): 0
libinput Accel Speed Default (296): 0.000000
libinput Accel Profiles Available (297): 1, 1
libinput Accel Profile Enabled (298): 1, 0
libinput Accel Profile Enabled Default (299): 1, 0
libinput Left Handed Enabled (300): 0
libinput Left Handed Enabled Default (301): 0
libinput Send Events Modes Available (271): 1, 0
libinput Send Events Mode Enabled (272): 0, 0
libinput Send Events Mode Enabled Default (273): 0, 0
Device Node (274): "/dev/input/event3"
Device Product ID (275): 6940, 6917
libinput Drag Lock Buttons (302): <no items>
libinput Horizontal Scroll Enabled (303): 1
そして、libinput Accel Speed(295)を-1に設定して、速度を落とします。
$xinput -set-prop 9 295 -1
次に、これをスタートアップアプリケーションに追加しました。