meowzaki

/etc/X11/xorg.conf.d/50-marblemouse.conf

Oct 2nd, 2014
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. Section "InputClass"
  2. Identifier "Marble Mouse"
  3. # MatchProduct "Logitech USB Trackball"
  4. # MatchIsPointer "on"
  5. # MatchDevicePath "/dev/input/event6"
  6. # Driver "evdev"
  7. Option "Emulate3Buttons" "true"
  8. Option "EmulateWheelButton" "8"
  9. Option "EmulateWheel" "true"
  10. Option "XAxisMapping" "6 7"
  11. Option "ZAxisMapping" "4 5"
  12. Option "ButtonMapping" "1 2 3 4 5 6 7 8 9"
  13. EndSection
  14.  
  15.  
  16. Section "InputClass"
  17. Identifier "Marble Mouse"
  18. MatchProduct "Logitech USB Trackball"
  19. MatchIsPointer "on"
  20. MatchDevicePath "/dev/input/event*"
  21. Driver "evdev"
  22. Option "SendCoreEvents" "true"
  23.  
  24. # Physical buttons come from the mouse as:
  25. # Big: 1 3
  26. # Small: 8 9
  27. #
  28. # This makes left small button (8) into the middle, and puts
  29. # scrolling on the right small button (9).
  30. #
  31. Option "Buttons" "9"
  32. Option "ButtonMapping" "1 8 3 4 5 6 7 2 9"
  33. Option "EmulateWheel" "true"
  34. Option "EmulateWheelButton" "9"
  35.  
  36. EndSection
Add Comment
Please, Sign In to add comment