Skip to content

Instantly share code, notes, and snippets.

@zikosw
Created December 16, 2017 06:07
Show Gist options
  • Save zikosw/1fe717e0ced7f9e94c449decd38ed14f to your computer and use it in GitHub Desktop.
Save zikosw/1fe717e0ced7f9e94c449decd38ed14f 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*"
Option "NaturalScrolling" "true"
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*"
Option "Tapping" "true"
Option "ClickMethod" "clickfinger"
Option "NaturalScrolling" "true"
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
@Foxhound401
Copy link

Thank you, Thank you, Thank fucking you!!! <3

@Patrolin
Copy link

Patrolin commented Dec 7, 2020

you saved my life, and also my touchpad.

@e-degar
Copy link

e-degar commented Mar 13, 2021

Public utility contribution. You are a legend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment