今天我将雷蛇鼠标插入我的 ubuntu 笔记本电脑。我不喜欢预设的灵敏度和加速度:
benjamin@benjamin-Lenovo-IdeaPad-Y510P:~$ xinput --list-props 12
Device 'Razer Razer Orochi 2013':
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
Device Accel Profile (260): 0
Device Accel Constant Deceleration (261): 1.000000
Device Accel Adaptive Deceleration (262): 1.000000
Device Accel Velocity Scaling (263): 10.000000
Device Product ID (250): 5426, 57
Device Node (251): "/dev/input/event5"
Evdev Axis Inversion (264): 0, 0
Evdev Axes Swap (266): 0
Axis Labels (267): "Rel X" (143), "Rel Y" (144), "Rel Vert Wheel" (259)
Button Labels (268): "Button Left" (136), "Button Middle" (137), "Button Right" (138), "Button Wheel Up" (139), "Button Wheel Down" (140), "Button Horiz Wheel Left" (141), "Button Horiz Wheel Right" (142), "Button Side" (254), "Button Extra" (255), "Button Forward" (256), "Button Back" (257), "Button Task" (258), "Button Unknown" (253), "Button Unknown" (253), "Button Unknown" (253), "Button Unknown" (253)
Evdev Middle Button Emulation (269): 0
Evdev Middle Button Timeout (270): 50
Evdev Third Button Emulation (271): 0
Evdev Third Button Emulation Timeout (272): 1000
Evdev Third Button Emulation Button (273): 3
Evdev Third Button Emulation Threshold (274): 20
Evdev Wheel Emulation (275): 0
Evdev Wheel Emulation Axes (276): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (277): 10
Evdev Wheel Emulation Timeout (278): 200
Evdev Wheel Emulation Button (279): 4
Evdev Drag Lock Buttons (280): 0
因此我使用以下命令编辑了这些属性:
benjamin@benjamin-Lenovo-IdeaPad-Y510P:~$ xinput --set-prop 12 "Device Accel Constant Deceleration" 2
benjamin@benjamin-Lenovo-IdeaPad-Y510P:~$ xinput --set-prop 12 "Device Accel Velocity Scaling" 1
一切都运行良好。几分钟后,鼠标开始出现异常。它会发出短暂的急促动作和咔嗒声。我尝试拔下鼠标,但这种情况仍然存在。这让我觉得这可能是触摸板的问题?当时我的笔记本电脑已关闭,并连接到外接显示器。
完成时:
benjamin@benjamin-Lenovo-IdeaPad-Y510P:~$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=15 [slave pointer (2)]
⎜ ↳ Razer Razer Orochi 2013 id=12 [slave pointer (2)]
⎜ ↳ Razer Razer Orochi 2013 id=13 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Video Bus id=10 [slave keyboard (3)]
↳ Lenovo EasyCamera id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
↳ Ideapad extra buttons id=16 [slave keyboard (3)]
↳ DELL Dell USB Entry Keyboard id=17 [slave keyboard (3)]