Created
April 11, 2019 02:11
-
-
Save chnn/0b9fbcd348945243a192007dcc19864a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Match on all types of devices but joysticks | |
| # | |
| # If you want to configure your devices, do not copy this file. | |
| # Instead, use a config snippet that contains something like this: | |
| # | |
| # Section "InputClass" | |
| # Identifier "something or other" | |
| # MatchDriver "libinput" | |
| # | |
| # MatchIsTouchpad "on" | |
| # ... other Match directives ... | |
| # Option "someoption" "value" | |
| # EndSection | |
| # | |
| # This applies the option any libinput device also matched by the other | |
| # directives. See the xorg.conf(5) man page for more info on | |
| # matching devices. | |
| 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" | |
| Option "XkbOptions" "ctrl:nocaps" | |
| EndSection | |
| Section "InputClass" | |
| Identifier "libinput touchpad catchall" | |
| MatchIsTouchpad "on" | |
| MatchDevicePath "/dev/input/event*" | |
| Driver "libinput" | |
| Option "NaturalScrolling" "true" | |
| Option "Tapping" "on" | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment