Add an explicit xorg setting for this trackman marble

This commit is contained in:
Dan Buch 2019-05-04 11:16:21 -04:00
parent d9d7e56ffe
commit 2fddf2f05b
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

15
xorg.conf.d/10-evdev.conf Normal file
View File

@ -0,0 +1,15 @@
# vim:filetype=xf86conf
# Lifted from https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse
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 "EmulateWheelInertia" "10"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection