Created
February 24, 2017 18:58
-
-
Save derlin/6d4def032c18a91d82c4955b1140c932 to your computer and use it in GitHub Desktop.
xorg configuration for my Logitech Marblemouse (left-handed)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "InputClass" | |
Identifier "Marble Mouse" | |
MatchProduct "Logitech USB Trackball" | |
MatchIsPointer "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "evdev" | |
Option "SendCoreEvents" "true" | |
# Physical buttons come from the mouse as: | |
# Big: 1 3 | |
# Small: 8 9 | |
# | |
# This makes left small button (8) into the middle, and puts | |
# scrolling on the right small button (9). | |
# | |
Option "Emulate3Buttons" "true" | |
Option "Buttons" "9" | |
Option "ButtonMapping" "1 2 3 4 5 6 7 8 9" | |
Option "EmulateWheel" "true" | |
Option "EmulateWheelButton" "9" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment