相关疑难解决方法(0)

ButtonMapping - 位置参数

在 X 配置文件中,可以使用 ButtonMapping 选项映射鼠标按钮:

Section "InputClass"
    # ...
    Option "ButtonMapping" "1 9 3 4 5 6 7 8 2"
    # ...
EndSection
Run Code Online (Sandbox Code Playgroud)

更改数字顺序会更改鼠标按钮的行为。然而,我找不到任何描述行为如何分配的文档。有什么小文档,我帮助编写。

例如,如果按钮映射是这样写的:

    Option "ButtonMapping" "a b c d e f g h i"
Run Code Online (Sandbox Code Playgroud)

我们将这些职位记录为:

  • a - 左键单击
  • b - 中
  • c - 右键单击
  • d - 向前滚动
  • e - 向后滚动
  • f - 前进
  • g - 向后
  • h - 水平滚动
  • i - 垂直滚动

我的问题是:ai 的位置值实际上代表什么以及它们如何映射到鼠标按钮?

更新

跑步xmodmap …

mouse xorg button mouse-wheel remapping

12
推荐指数
1
解决办法
3516
查看次数

标签 统计

button ×1

mouse ×1

mouse-wheel ×1

remapping ×1

xorg ×1