如何禁用鼠标的 dpi 按钮?

如何禁用鼠标的 dpi 按钮?

我有一个无线 USB 鼠标 (ItWorks WM791),带有一个dpi按钮,可让我在三种鼠标速度之间切换。这个按钮有缺陷(嗯……我把它弄坏了),我的鼠标随机改变速度或完全滞后(就像连续按下按钮一样),这非常烦人。

如何禁用该dpi按钮?

我使用的是 Gnome 3 和 Debian 10。

请注意,xev无法识别此按钮,并且风笛手不支持支持此鼠标。

这是结果xinput

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ELAN1200:00 04F3:3045 Touchpad            id=18   [slave  pointer  (2)]
⎜   ↳ WINTOP     Darty      2.4G Wireless Mouse Mouse   id=16   [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)]
    ↳ Asus Wireless Radio Control               id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Video Bus                                 id=9    [slave  keyboard (3)]
    ↳ Power Button                              id=10   [slave  keyboard (3)]
    ↳ Sleep Button                              id=11   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                     id=12   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard Consumer Control    id=13   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard System Control      id=14   [slave  keyboard (3)]
    ↳ USB2.0 VGA UVC WebCam: USB2.0 V           id=17   [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                          id=19   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=20   [slave  keyboard (3)]
    ↳ WINTOP     Darty      2.4G Wireless Mouse id=15   [slave  keyboard (3)]

这是结果xinput --list-props 16

Device 'WINTOP     Darty      2.4G Wireless Mouse Mouse':
    Device Enabled (152):   1
    Coordinate Transformation Matrix (154): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (290):   0
    libinput Natural Scrolling Enabled Default (291):   0
    libinput Scroll Methods Available (292):    0, 0, 1
    libinput Scroll Method Enabled (293):   0, 0, 0
    libinput Scroll Method Enabled Default (294):   0, 0, 0
    libinput Button Scrolling Button (295): 2
    libinput Button Scrolling Button Default (296): 2
    libinput Middle Emulation Enabled (297):    0
    libinput Middle Emulation Enabled Default (298):    0
    libinput Accel Speed (299): 0.000000
    libinput Accel Speed Default (300): 0.000000
    libinput Accel Profiles Available (301):    1, 1
    libinput Accel Profile Enabled (302):   1, 0
    libinput Accel Profile Enabled Default (303):   1, 0
    libinput Left Handed Enabled (304): 0
    libinput Left Handed Enabled Default (305): 0
    libinput Send Events Modes Available (275): 1, 0
    libinput Send Events Mode Enabled (276):    0, 0
    libinput Send Events Mode Enabled Default (277):    0, 0
    Device Node (278):  "/dev/input/event12"
    Device Product ID (279):    2362, 5768
    libinput Drag Lock Buttons (306):   <no items>
    libinput Horizontal Scroll Enabled (307):   1

我可以修改哪些属性来禁用更改dpi

相关内容