AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 934906
Accepted
Jonathan
Jonathan
Asked: 2017-07-11 12:55:52 +0800 CST2017-07-11 12:55:52 +0800 CST 2017-07-11 12:55:52 +0800 CST

Corsair M95 游戏鼠标太灵敏/速度太快。如何降低速度?

  • 772

鼠标控制面板窗口滑块什么也不做。由于它的 xinput 道具不同,官方线程似乎不会影响这个特定的鼠标:降低鼠标灵敏度

这是我尝试过的:

xinput set-prop 9 "libinput Accel Speed Default" 2.88

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  20
  Current serial number in output stream:  21

和:

xinput set-prop $MOUSE_ID "Device Accel Constant Deceleration" 2.88 

property 'Device Accel Constant Deceleration' doesn't exist, you need to specify its type and format

以下是道具:

xinput list-props 9        
Device 'Corsair Corsair M95 Gaming Mouse':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Accel Speed (287): 0.000000
    libinput Accel Speed Default (288): 0.000000
    libinput Accel Profiles Available (289):    1, 1
    libinput Accel Profile Enabled (290):   1, 0
    libinput Accel Profile Enabled Default (291):   1, 0
    libinput Natural Scrolling Enabled (292):   0
    libinput Natural Scrolling Enabled Default (293):   0
    libinput Send Events Modes Available (272): 1, 0
    libinput Send Events Mode Enabled (273):    0, 0
    libinput Send Events Mode Enabled Default (274):    0, 0
    libinput Left Handed Enabled (294): 0
    libinput Left Handed Enabled Default (295): 0
    libinput Scroll Methods Available (296):    0, 0, 1
    libinput Scroll Method Enabled (297):   0, 0, 0
    libinput Scroll Method Enabled Default (298):   0, 0, 0
    libinput Button Scrolling Button (299): 2
    libinput Button Scrolling Button Default (300): 2
    libinput Middle Emulation Enabled (301):    0
    libinput Middle Emulation Enabled Default (302):    0
    Device Node (275):  "/dev/input/event2"
    Device Product ID (276):    6940, 6918
    libinput Drag Lock Buttons (303):   <no items>
    libinput Horizontal Scroll Enabled (304):   1



 jonny  ~  xinput list-props 11
Device 'Corsair Corsair M95 Gaming Mouse':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (292):   0
    libinput Natural Scrolling Enabled Default (293):   0
    libinput Send Events Modes Available (272): 1, 0
    libinput Send Events Mode Enabled (273):    0, 0
    libinput Send Events Mode Enabled Default (274):    0, 0
    Device Node (275):  "/dev/input/event4"
    Device Product ID (276):    6940, 6918
    libinput Drag Lock Buttons (303):   <no items>
    libinput Horizontal Scroll Enabled (304):   1



 jonny  ~  xinput list-props 10
Device 'Corsair Corsair M95 Gaming Mouse':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Send Events Modes Available (272): 1, 0
    libinput Send Events Mode Enabled (273):    0, 0
    libinput Send Events Mode Enabled Default (274):    0, 0
    Device Node (275):  "/dev/input/event3"
    Device Product ID (276):    6940, 6918


 jonny  ~  xinput list-props 15
Device 'Corsair Corsair M95 Gaming Mouse':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (292):   0
    libinput Natural Scrolling Enabled Default (293):   0
    libinput Send Events Modes Available (272): 1, 0
    libinput Send Events Mode Enabled (273):    0, 0
    libinput Send Events Mode Enabled Default (274):    0, 0
    Device Node (275):  "/dev/input/event4"
    Device Product ID (276):    6940, 6918

xinput list-props 4
Device 'Virtual core XTEST pointer':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    XTEST Device (271): 1
xinput list-props 2 
Device 'Virtual core pointer':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000

和:

xinput                                                                                                                                                                                                                       1 
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Corsair Corsair M95 Gaming Mouse          id=9    [slave  pointer  (2)]
⎜   ↳ Corsair Corsair M95 Gaming Mouse          id=11   [slave  pointer  (2)]
⎜   ↳ Razer Razer BlackWidow Ultimate           id=13   [slave  pointer  (2)]
⎜   ↳ Razer Razer BlackWidow Ultimate           id=14   [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)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ UVC Camera (046d:0807)                    id=8    [slave  keyboard (3)]
    ↳ Corsair Corsair M95 Gaming Mouse          id=10   [slave  keyboard (3)]
    ↳ Razer Razer BlackWidow Ultimate           id=12   [slave  keyboard (3)]
    ↳ Corsair Corsair M95 Gaming Mouse          id=15   [slave  keyboard (3)]
    ↳ Razer Razer BlackWidow Ultimate           id=16   [slave  keyboard (3)]
mouse
  • 2 2 个回答
  • 1220 Views

2 个回答

  • Voted
  1. Best Answer
    Jonathan
    2017-07-11T13:18:37+08:002017-07-11T13:18:37+08:00

    我非常接近:

    xinput set-prop $MOUSE_ID "libinput Accel Speed" -0.9
    

    在哪里

    MOUSE_ID=`xinput list | grep -i Corsair | awk '{print $(NF-3)}' | cut -c4-5 | head -n 1
    

    每:https ://patrickmn.com/aside/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/

    • 2
  2. Boris Churzin
    2017-10-22T23:22:13+08:002017-10-22T23:22:13+08:00

    对于那些没有Device Accel Constant Deceleration像我这样的人。

    的值libinput Accel Speed可以是负数,例如

    xinput --set-prop 'pointer:Logitech MX Master' 'libinput Accel Speed' -0.5

    要找到您的鼠标名称: xinput | grep pointer,请不要忘记为其添加前缀,pointer:因为我的鼠标也显示为键盘。

    • 1

相关问题

  • 安装过程中无法识别键盘/鼠标

  • 为什么我不能点击东西(软件相关问题)?[关闭]

  • Firefox 鼠标中键滚动

  • 如何为不同的鼠标设置不同的设置?

  • 什么可能会阻止 xrandr 屏幕之间的鼠标移动?[关闭]

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve