libinput
provides device detection, device handling, input device event processing and abstraction to minimize the amount of custom input code compositors need to provide the common set of functionality that users expect. Configuration file Create a /etc/X11/xorg.conf.d/30-touchpad.conf for xorg. Section "InputClass" Identifier "touchpad" Driver "libinput" MatchIsTouchpad "on" Option "Tapping" "on" Option "NaturalScrolling" "true" EndSection Not needed for wayland