Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.0 KiB

6 years ago
  1. # - - - Logitech Marble Mouse Settings - - -
  2. #
  3. # The Logitech Marble Mouse buttons are mapped [A-D] from left to right:
  4. # A (large); B (small) | C (small); D (large).
  5. #
  6. # Preferred options for right-handed usage:
  7. # A = normal click [1]
  8. # B = middle-click [2]
  9. # C = middle-click [2]
  10. # D = right-click [3]
  11. # Hold button B while rolling trackball to emulate wheel-scrolling.
  12. #
  13. # Preferred options for left-handed usage:
  14. # A = right-click [3]
  15. # B = middle-click [2]
  16. # C = middle-click [2]
  17. # D = normal click [1]
  18. # Hold button C while rolling trackball to emulate wheel-scrolling.
  19. # Pressing both large buttons simultaneously (b) produces a "back" action.
  20. Section "InputClass"
  21. Identifier "Marble Mouse"
  22. MatchProduct "Logitech USB Trackball"
  23. MatchIsPointer "on"
  24. MatchDevicePath "/dev/input/event*"
  25. Driver "evdev"
  26. # Physical button #s: A b D - - - - B C
  27. # Option "ButtonMapping" "1 8 3 4 5 6 7 2 2" right-hand placement
  28. # Option "ButtonMapping" "3 8 1 4 5 6 7 2 2" left-hand placement
  29. # b = A & D
  30. #Option "ButtonMapping" "1 8 3 4 5 6 7 2 2"
  31. Option "ButtonMapping" "3 8 1 4 5 6 7 2 2"
  32. # EmulateWheel: Use Marble Mouse trackball as mouse wheel
  33. # Factory Default: 8; Use 9 for right side small button
  34. Option "EmulateWheel" "true"
  35. Option "EmulateWheelButton" "8"
  36. # EmulateWheelInertia: How far (in pixels) the pointer must move to
  37. # generate button press/release events in wheel emulation mode.
  38. # Factory Default: 50
  39. Option "EmulateWheelInertia" "10"
  40. # Axis Mapping: Enable vertical [ZAxis] and horizontal [XAxis] scrolling
  41. Option "ZAxisMapping" "4 5"
  42. # Option "XAxisMapping" "6 7"
  43. # Emulate3Buttons: Required to interpret simultaneous press of two large
  44. # buttons, A & D, as a seperate command, b.
  45. # Factory Default: true
  46. Option "Emulate3Buttons" "true"
  47. EndSection