You are not logged in.

#1 2013-11-04 15:38:59

pschyska
Member
Registered: 2013-09-16
Posts: 7

Xorg config: Emulate3Buttons, EmulateWheel simulateneously

Hi,

I just got a Logitech Marble mouse and want to configure it so that simultaneously tapping the left and right main buttons emulates a middle click, and holding these buttons enters scrolling mode.

What I have right now is

Section "InputClass"
        Identifier  "Mouse0"
        Driver "evdev"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        MatchProduct "Logitech USB Trackball"

        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "8"
        Option "Emulate3Buttons" "true"
        #Option "ButtonMapping" "1 2 3 4 5 6 7 8 9"
        Option "ButtonMapping" "1 2 3 4 5 6 7 8 2"

        Option "ZAxisMapping" "4 5"
        Option "XAxisMapping" "6 7"
EndSection

Xev says Button 2 is emmitted when I press both left and right (1+3) together, which is fine.
I now get into EmulateWheel mode by holding Button 8. What I want is:

        Option "EmulateWheelButton" "2"

But it doesn't work. Although xev still tells me Button 2 was pressed when I press left+right together, I don't get into scrolling mode by holding these.

Any ideas?

Thanks

Offline

Board footer

Powered by FluxBB