libinput
TLDR
List all input devices
$ sudo libinput list-devices
Debug input events$ sudo libinput debug-events
Launch debug GUI$ sudo libinput debug-gui
Debug tablet devices$ sudo libinput debug-tablet
Display help$ libinput --help
SYNOPSIS
libinput command [options]
DESCRIPTION
libinput is a library and command-line tool for handling input devices on Linux. It provides a unified interface for mice, keyboards, touchpads, and tablets on both X11 and Wayland systems.
PARAMETERS
list-devices
List all devices recognized by libinputdebug-events
Print all input events to stdoutdebug-gui
Show graphical visualization of input eventsdebug-tablet
Debug tablet and stylus axis valuesmeasure
Measure device-specific propertiesanalyze
Analyze recorded events-h, --help
Display help information
CAVEATS
Most commands require root privileges to access input devices. The debug-gui requires a graphical environment.


