罗技 M650/M750 鼠标侧键异常解决

1. 问题

罗技 M650/M750 鼠标侧键在默认配置下,只有在松开按键的一瞬间才会同时发送 按键按下 + 按键松开 消息。

因此侧键在长按时并没有任何效果,只能供单击使用

2. 解决

在 Logitech Option+ 中禁用鼠标侧键的水平滚动功能即可,侧键将恢复正常。

3. Reference

M650 Side Buttons only registering on button release. : r/logitech

4. 附:问题识别与效果检查

可以用如下 Python 脚本检测鼠标各按键的工作情况(ChatGPT 写的):

from pynput import mouse
import threading
import time

class MouseListener:
    def __init__(self, interval=0.2):
        self.pressed_buttons = set()
        self.interval = interval
        self.running = False
        self.lock = threading.Lock()

    def on_click(self, x, y, button, pressed):
        with self.lock:
            if pressed:
                if button not in self.pressed_buttons:
                    print(f"Mouse {button} pressed at ({x}, {y})")
                self.pressed_buttons.add(button)
                if not self.running:
                    self.running = True
                    threading.Thread(target=self._continuous_output, daemon=True).start()
            else:
                if button in self.pressed_buttons:
                    print(f"Mouse {button} released at ({x}, {y})")
                    self.pressed_buttons.remove(button)
                if not self.pressed_buttons:
                    self.running = False

    def _continuous_output(self):
        while True:
            time.sleep(self.interval)
            with self.lock:
                if not self.running:
                    break
                for btn in self.pressed_buttons:
                    print(f"Mouse {btn} is being held down...")

if __name__ == "__main__":
    listener = MouseListener()
    with mouse.Listener(on_click=listener.on_click) as l:
        l.join()

罗技 M650/M750 鼠标侧键异常解决
https://blog.openyq.top/posts/13647/
作者
yqs112358
许可协议