Logitech Trackball not scrolling

I have a Logitech “Marble Mouse” USB trackball which was working on openSUSE 13.2 with the following inserted into /etc/X11/xorg.conf.d/10-evdev.conf


Section "InputClass"
    Identifier "Marble Mouse"
    MatchProduct "Logitech USB Trackball"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "ButtonMapping" "1 8 3 4 5 6 7 2 2"
    Option "EmulateWheel" "true"
    Option "EmulateWheelButton" "8"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
EndSection

This is not working on Leap 42.2.

The trackball has 2 buttons on each side, a little one and a big one. What is supposed to happen is that holding the little button on the left side and moving the trackball causes vertical scrolling.

Now, pressing the left little button causes a copy (middle click?).

In perl/Tk programs, it does cause vertical and horizontal scrolling, but no where else.

In searching the internet, I’ve seen references to “ZAxisMapping” or “YAxisMapping” with no explanation as to which is currently needed. Both seem to have the same effect.

It might pay to confirm the Xorg input driver being used to handle this device first. Perhaps it isn’t evdev…

grep "Using input driver" /var/log/Xorg.0.log

BTW, which desktop environment are you using?

The following wiki page may be helpful to you

https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse#Using_libinput

I’m using KDE plasma.

/var/log/Xorg.0.log shows Using input driver ‘libinput’ for ‘Logitech USB Trackball’

So I added the configuration in your link and it’s working now. I’m getting horizontal and vertical scrolling.

Thanks Deano

I thought that this might be the case. :wink:

So I added the configuration in your link and it’s working now. I’m getting horizontal and vertical scrolling.

Thanks Deano

Nice to know that libinput + config is working for you. :slight_smile: