libinput:如何正确设置触控板以在 16.04 及更高版本中为 Logitech 无线键盘 + 触控板反向滚动?

yll*_*ate 5 touchpad keyboard logitech libinput

我在这里找到了一个非常好的答案,如果它有效的话会很棒:https : //askubuntu.com/a/820098/134500

我想libinput用来让滚动以及其他触控板和指向功能正常工作。当我尝试启用它时,不幸的是键盘 + 触控板(罗技 K400+)完全停止工作。

/etc/X11/xorg.conf.d我下面:

20-touchpad.conf:

Section "InputClass"
    Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"

        Option "NaturalScrolling" "on"
        Option "MiddleEmulation" "on"
        Option "Tapping" "off"
        Option "DisableWhileTyping" "on"
EndSection
Run Code Online (Sandbox Code Playgroud)

30-pointer.conf

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"

        Option "NaturalScrolling" "on"
EndSection
Run Code Online (Sandbox Code Playgroud)

我认为它libinput在 16.04 上已经处于活动状态,但是,如上所述,键盘输入完全停止。我在日志中没有看到问题。关于如何确保libinput正常工作以及如何让它与这个罗技 K400+ 一起工作有什么吗?

也许libinput只是Wayland,并且由于它正在运行xorg,因此这就是这种情况下的困境?如果是这样,这里的正确方法是什么?