Chrome 中的反向水平滚动

Mik*_*eyR 5 linux mouse google-chrome scroll-wheel logitech-mouse

我的 Logitech MX Master 鼠标有一个专用水平滚轮的问题。我在/usr/share/x11/xorg.conf.dcall中创建了一个文件52-mouse-map.conf,其中包含以下内容:

Section "InputClass"
    Identifier  "pointer:Logitech MX Master"
    Option  "ButtonMapping" "1 2 3 4 5 7 6 8 9 10 11 12 13 14 15 16 17 18 19 20"
EndSection 
Run Code Online (Sandbox Code Playgroud)

每当我启动时,我都会得到正确的按钮映射,其中 6 和 7 已交换位置以反转水平方向。

$ xinput get-button-map 11
1 2 3 4 5 7 6 8 9 10 11 12 13 14 15 16 17 18 19 20  
Run Code Online (Sandbox Code Playgroud)

它在我的 i3wm 和 sublime 等中工作,但在 chrome 中,每当我在网站上使用它并滚动选项卡时,它都是我觉得奇怪的原始使用方式。“在滚轮上向上滚动会向左滚动,向下滚动会向右滚动”。

任何人都知道我的更改不适用于 chrome 但适用于其他地方的原因是什么?也许还有修复。
这是一些信息:

$ xinput list 11
Logitech MX Master                          id=11   [slave  pointer  (2)]
    Reporting 7 classes:
        Class originated from: 11. Type: XIButtonClass
        Buttons supported: 20
        Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra" "Button Forward" "Button Back" None None None None None None None None None
        Button state:
        Class originated from: 11. Type: XIValuatorClass
        Detail for Valuator 0:
          Label: Rel X
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 11. Type: XIValuatorClass
        Detail for Valuator 1:
          Label: Rel Y
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 11. Type: XIValuatorClass
        Detail for Valuator 2:
          Label: Rel Horiz Scroll
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 11. Type: XIValuatorClass
        Detail for Valuator 3:
          Label: Rel Vert Scroll
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 11. Type: XIScrollClass
        Scroll info for Valuator 2
          type: 2 (horizontal)
          increment: 15.000000
          flags: 0x0
        Class originated from: 11. Type: XIScrollClass
        Scroll info for Valuator 3
          type: 1 (vertical)
          increment: 15.000000
          flags: 0x0
Run Code Online (Sandbox Code Playgroud)