Section "InputClass" Identifier "joystick catchall" MatchIsJoystick "on" MatchDevicePath "/dev/input/event*" Driver "joystick" Option "StartKeysEnabled" "False" #Disable mouse Option "StartMouseEnabled" "False" #support EndSection # Same thing for DualShock 4 touchpad Section "InputClass" Identifier "ds4-touchpad" Driver "libinput" MatchProduct "Wireless Controller Touchpad" Option "Ignore" "True" EndSection