Skip to content

Instantly share code, notes, and snippets.

@askldjd
Created October 1, 2016 15:40
Show Gist options
  • Save askldjd/0b513a44f6e675312c0988156584b005 to your computer and use it in GitHub Desktop.
Save askldjd/0b513a44f6e675312c0988156584b005 to your computer and use it in GitHub Desktop.
# Match on all types of devices but tablet devices and 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment