我的鼠标速度有问题...我有一个带硬件开关的游戏鼠标(1000 dpi、1600 dpi、2000 dpi),我已将其设置为 1000 dpi,我已将鼠标加速和阈值设置为0. 我尝试用 xset 和 xinput 解决,但似乎根本不起作用。我不知道如何在min下设置鼠标灵敏度...请帮忙!运行 Ubuntu 15.04 x86;鼠标:红龙 Centrophorus;提前致谢。
我看了看: manpages.ubuntu.com/manpages/vivid/man4/mousedrv.4.html ,我找到了这个(点击我)
第二个是我已经尝试过的(并且不起作用)有人知道如何使用第一个选项吗?
Edw*_*lds 26
xinput --list --short罗技USB光电鼠标id=10【从指针(2)】
(这是您将看到的输出的一部分,我找到了鼠标的名称Logitech USB Optical Mouse)
xinput --set-prop "Logitech USB Optical Mouse" "Device Accel Constant Deceleration" 5
你需要玩数字,这里 5.不要失去终端的焦点,因为鼠标速度可能变得太快或太慢。数字越小,速度越快,同样,数字越大,速度越慢。对我1来说太快了,100也太慢了。
xinput --list-props "罗技 USB 光电鼠标"
如果这对您不起作用,您可以随时将其还原,如下所示:
xinput --set-prop "Logitech USB Optical Mouse" "Device Accel Velocity Scaling" 1
xinput --set-prop "Logitech USB Optical Mouse" "Device Accel Profile" -1
Run Code Online (Sandbox Code Playgroud)
小智 5
对于 Corsair M65 游戏鼠标,我执行了以下操作
\n\n$xinput --list --short\n\xe2\x8e\xa1 Virtual core pointer id=2 [master pointer (3)]\n\xe2\x8e\x9c \xe2\x86\xb3 Virtual core XTEST pointer id=4 [slave pointer (2)]\n\xe2\x8e\x9c \xe2\x86\xb3 Corsair Corsair M65 Gaming Mouse id=9 [slave pointer (2)]\n\xe2\x8e\x9c \xe2\x86\xb3 Corsair Corsair M65 Gaming Mouse id=11 [slave pointer (2)]\n\xe2\x8e\xa3 Virtual core keyboard id=3 [master keyboard (2)]\n \xe2\x86\xb3 Virtual core XTEST keyboard id=5 [slave keyboard (3)]\n \xe2\x86\xb3 Power Button id=6 [slave keyboard (3)]\n \xe2\x86\xb3 Video Bus id=7 [slave keyboard (3)]\n \xe2\x86\xb3 Power Button id=8 [slave keyboard (3)]\n \xe2\x86\xb3 Corsair Corsair M65 Gaming Mouse id=10 [slave keyboard (3)]\n \xe2\x86\xb3 Metadot - Das Keyboard Das Keyboard id=12 [slave keyboard (3)]\n \xe2\x86\xb3 Metadot - Das Keyboard Das Keyboard id=13 [slave keyboard (3)]\n \xe2\x86\xb3 Corsair Corsair M65 Gaming Mouse id=14 [slave keyboard (3)]\n
所以我的鼠标 ID 是 9。 \n我得到与该鼠标关联的寄存器:
\n\n $ xinput --list-props 9\nDevice Corsair Corsair M65 Gaming Mouse:\n Device Enabled (149): 1\n Coordinate Transformation Matrix (151): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000\n libinput Natural Scrolling Enabled (286): 0\n libinput Natural Scrolling Enabled Default (287): 0\n libinput Scroll Methods Available (288): 0, 0, 1\n libinput Scroll Method Enabled (289): 0, 0, 0\n libinput Scroll Method Enabled Default (290): 0, 0, 0\n libinput Button Scrolling Button (291): 2\n libinput Button Scrolling Button Default (292): 2\n libinput Middle Emulation Enabled (293): 1\n libinput Middle Emulation Enabled Default (294): 0\n libinput Accel Speed (295): 0\n libinput Accel Speed Default (296): 0.000000\n libinput Accel Profiles Available (297): 1, 1\n libinput Accel Profile Enabled (298): 1, 0\n libinput Accel Profile Enabled Default (299): 1, 0\n libinput Left Handed Enabled (300): 0\n libinput Left Handed Enabled Default (301): 0\n libinput Send Events Modes Available (271): 1, 0\n libinput Send Events Mode Enabled (272): 0, 0\n libinput Send Events Mode Enabled Default (273): 0, 0\n Device Node (274): "/dev/input/event3"\n Device Product ID (275): 6940, 6917\n libinput Drag Lock Buttons (302): <no items>\n libinput Horizontal Scroll Enabled (303): 1\nRun Code Online (Sandbox Code Playgroud)\n\n我将 libinput Accel Speed (295) 设置为 -1 以减慢速度。
\n\n$xinput -set-prop 9 295 -1\nRun Code Online (Sandbox Code Playgroud)\n\n然后我将其添加到启动应用程序中。
\n| 归档时间: |
|
| 查看次数: |
26183 次 |
| 最近记录: |