Advertisement
Guest User

Untitled

a guest
May 26th, 2012
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. #
  2. # Catch-all evdev loader for udev-based systems
  3. # We don't simply match on any device since that also adds accelerometers
  4. # and other devices that we don't really want to use. The list below
  5. # matches everything but joysticks.
  6.  
  7. Section "InputClass"
  8. Identifier "evdev pointer catchall"
  9. MatchIsPointer "on"
  10. MatchDevicePath "/dev/input/event*"
  11. Driver "evdev"
  12. EndSection
  13.  
  14. Section "InputClass"
  15. Identifier "evdev keyboard catchall"
  16. MatchIsKeyboard "on"
  17. MatchDevicePath "/dev/input/event*"
  18. Driver "evdev"
  19. EndSection
  20.  
  21. Section "InputClass"
  22. Identifier "evdev touchpad catchall"
  23. MatchIsTouchpad "on"
  24. MatchDevicePath "/dev/input/event*"
  25. Driver "evdev"
  26. EndSection
  27.  
  28. Section "InputClass"
  29. Identifier "evdev tablet catchall"
  30. MatchIsTablet "on"
  31. MatchDevicePath "/dev/input/event*"
  32. Driver "evdev"
  33. EndSection
  34.  
  35. Section "InputClass"
  36. Identifier "evdev touchscreen catchall"
  37. MatchIsTouchscreen "on"
  38. MatchDevicePath "/dev/input/event*"
  39. Driver "evdev"
  40. EndSection
  41.  
  42. Section "InputClass"
  43. Identifier "Marble Mouse"
  44. MatchIsPointer "on"
  45. MatchDevicePath "/dev/input/event*"
  46. Driver "evdev"
  47. Option "SendCoreEvents" "true"
  48.  
  49. # Physical buttons come from the mouse as:
  50. # Big: 1 3
  51. # Small: 8 9
  52. #
  53. # This makes left small button (8) into the middle, and puts
  54. # scrolling on the right small button (9).
  55.  
  56. #Option "Buttons" "9"
  57. #Option "ButtonMapping" "1 2 3 4 5 6 7 8 9"
  58. Option "EmulateWheel" "true"
  59. Option "EmulateWheelButton" "8"
  60.  
  61. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement