sudo gedit /etc/X11/xorg.conf.d/50-marblemouse.conf
Section "InputClass" Identifier "FX Cordless" MatchProduct "Logitech USB Receiver" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "ButtonMapping" "1 2 3 4 5 6 7 8 9" # from marblemouse
Option "EmulateWheel" "1"
Option "EmulateWheelButton" "8"
Option "ZAxisMapping" "4 5" # from marblemouse
Option "XAxisMapping" "6 7"
Option "Emulate3Buttons" "true"
EndSection
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "ButtonMapping" "1 2 3 4 5 6 7 8 9"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "8"
Option "ZAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
Option "Emulate3Buttons" "false"
EndSection
No comments:
Post a Comment