鼠标速度太快了

我的鼠标速度有问题…我有一个带硬件开关的游戏鼠标(1000 dpi,1600 dpi,2000 dpi)我将其设置为1000 dpi,我的鼠标加速度和阈值设置为我尝试使用xset和xinput进行求解,但它似乎根本不起作用。 我不知道如何设置最小的鼠标灵敏度…请帮忙! 运行Ubuntu 15.04 x86; 小鼠:Redragon Centrophorus; 提前致谢。


我看了一下:manpages.ubuntu.com/manpages/vivid/man4/mousedrv.4.html,我找到了这个(点击我)

第二个是我已经尝试过(并且不起作用)任何人都知道如何使用第一个选项?

  1. 打开终端
  2. 运行命令: xinput --list --short

罗技USB光学鼠标id = 10 [从指针(2)]

(这是你会看到的输出的一部分,我找到了我的鼠标Logitech USB Optical Mouse

  1. 记下您设备的名称。
  2. 设置设备的恒定减速度:

xinput –set-prop“罗技USB光电鼠标”“设备加速恒定减速”5

你需要玩数字,这里5. 不要失去终端的焦点,因为鼠标速度可能太快或太慢数字越低它的速度越快,类似地,它的数字越慢 。 对我来说1太快了, 100太慢了。

  1. 要查看设备的当前设置:

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 

参考

我最终不得不这样做

 xinput --list --short 

如原始回答者所说,但必须这样做

 xinput set-prop 17(my device id) "Device Accel Constant Deceleration" 2 

使它适用于我的Xubuntu 16.04设置,因为我有多个设备匹配’Microsoft Microsoft Nano Transceiver 1.1′..

对于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):  libinput Horizontal Scroll Enabled (303): 1 

我将libinput加速度(295)设置为-1以减慢速度。

 $xinput -set-prop 9 295 -1 

然后我将其添加到启动应用程序中。

今天早上我的老鼠一定喝了太多咖啡。 我试图通过System Setting | Mouse & Touchpad来镇静它 System Setting | Mouse & Touchpad但它绝对没有影响。 这里的问题和答案对我有帮助。 我描述了自己的经历,这可能对其他人有用:


一些相关的在线文档: https : //www.x.org/wiki/Development/Documentation/PointerAcceleration说明如下:

方案

如果你的鼠标移动太快,?ConstantDeceleration是你的朋友。 设置为2或更高以相应地分频。 这不会丢弃精度(至少仅在nv-reset时,参见速度近似或以下)。

如果您的高性能设备没有很好地响应加速度,您可能需要先降低速度缩放。

如果您喜欢速度但需要在像素级别进行更多控制,则应将?AdaptiveDeceleration设置为2或更多。 这允许将慢速运动减速到给定因子。 您可能希望通过将?VelocityReset设置为例如500 ms来保持nv-resets,并且可能调整速度缩放以调整结果。

第1步 – 找到设备ID :(如@ edward-torvalds回答)

 (lf-env) craig@craig-desktop:~/work/leaflet-1$ xinput --list --short ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ MOSART Semi. 2.4G Wireless Mouse id=11 [slave pointer 

我的鼠标是id == 11,这个数字可以用来设置属性。 也可以使用字段名称。 将命令写入启动文件时,应使用字段名称,因为设备ID可以动态更改(参见此处 )。

第2步 – 查找当前设备设置和属性ID号:

 (lf-env) craig@craig-desktop:~/work/leaflet-1$ xinput -list-props 11 Device 'MOSART Semi. 2.4G Wireless Mouse': ... Device Accel Profile (262): 0 Device Accel Constant Deceleration (263): 1.000000 Device Accel Adaptive Deceleration (264): 1.000000 Device Accel Velocity Scaling (265): 10.000000 ... 

我最终决定调整的属性如下:

 Device Accel Constant Deceleration (263): [original value 1.0] Device Accel Adaptive Deceleration (264): [original value 1.0] Device Accel Velocity Scaling (265): [original value 100.0] 

上面提到的在线文档给出了这些值的描述。 在这里,我添加一些基于主观“感觉”和文档的描述。

  • 设备加速常数减速度(263): – 鼠标灵敏度。 较低的设置较慢。 鼠标速度等感觉除以此因子。

  • 设备加速自适应减速(264): – 当鼠标以低速移动时,速度进一步除以此系数。 整体感觉是有两个单独的齿轮,低速档和高速档。 在我个人的情况下,通过将设置与生理传动装置相匹配,我得到了最好的结果:对于低位齿轮,我的手掌脚跟向下,我用手指肌肉进行精细的鼠标移动。 对于高档,我的手掌脚跟向上或滑动,我正在用arm肌肉进行宽阔的动作,同时牢牢抓住鼠标。 控制过渡可能有点棘手 – 如果有另一个输入来判断手掌脚跟是向上/滑动还是向下/固定它将是完美的!

  • Device Accel Velocity Scaling(265): – 该因子除以原始数值数据,其作用类似于“Device Accel Constant Deceleration”,但也丢弃了整数分辨率。 ? 也许。

我目前的设置如下:

 (lf-env) craig@craig-desktop:~/work/leaflet-1$ xinput -set-prop 11 263 10 (lf-env) craig@craig-desktop:~/work/leaflet-1$ xinput -set-prop 11 264 1000 (lf-env) craig@craig-desktop:~/work/leaflet-1$ xinput -set-prop 11 265 10 (lf-env) craig@craig-desktop:~/work/leaflet-1$ xinput -list-props 11 Device 'MOSART Semi. 2.4G Wireless Mouse': ... Device Accel Profile (262): 0 Device Accel Constant Deceleration (263): 10.000000 Device Accel Adaptive Deceleration (264): 1000.000000 Device Accel Velocity Scaling (265): 10.000000 ... 

如果ConstantDeceleration不可用,则可以使用负加速度。

在Debian XFCE中我用过:

 xinput set-prop 8 "libinput Accel Speed" -0.9