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
그런 다음 시작 응용 프로그램에 이것을 추가했습니다.