View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#3
I have a solution for the touchpad scroll direction now:

The touchpad doesn't identify as a touchpad but as a mouse and it's also not compatible with either th synaptics or elantech drivers.

According to [1], with libinput you can invert the scroll direction of any pointer devices. That actually works here, but of course that also reverses the scroll direction of a regular mouse, which I don't want. So I need to limit that global configuration again.
My first attempt was to change the MatchDevicePath line like this, becaue Xorg.0.log told me, that the touchpad registered as "event2":
Code:
MatchDevicePath "/dev/input/event2"
That worked, but unfortunately these pathes are not stable.
Then, in [2] I found, that one can address devices also by product name. So I now have this solution:
Code:
Section "InputClass"
    Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchProduct "AMR-4630-XXX-0- 0-1023 USB KEYBOARD Mouse"
        Driver "libinput"

        Option "NaturalScrolling" "on"
EndSection

[1] https://askubuntu.com/questions/8196.../820098#820098
[2] https://fedoraproject.org/wiki/Input..._configuration
 

The Following 5 Users Say Thank You to sulu For This Useful Post: