Skip to content

Instantly share code, notes, and snippets.

@fr3fou
Created October 21, 2018 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fr3fou/05d48670a9ace1a03173e8769ac14b38 to your computer and use it in GitHub Desktop.
Save fr3fou/05d48670a9ace1a03173e8769ac14b38 to your computer and use it in GitHub Desktop.
# Match on all types of devices but joysticks
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "SynPS/2 Synaptics Touchpad"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event8"
Option "NaturalScrolling" "true"
Option "Tapping" "on"
Option "ClickMethod" "clickfinger"
Driver "libinput"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment