libinput debug-gui [options] --udev <seat>
libinput debug-gui [options] [--device] /dev/input/event0
The libinput debug-gui tool creates a libinput context and a full-screen GTK window to visualize events processed by libinput. This tool exclusively grabs pointing devices and stops them from interacting with the rest of the GUI.
Hit Esc to exit this tool.
This is a debugging tool only, its output or behavior may change at any time. Do not rely on the output or the behavior.
This tool usually needs to be run as root to have access to the /dev/input/eventX nodes.
For libinput configuration options, see libinput-debug-events(1)
Events shown by this tool may not correspond to the events seen by a different user of libinput. This tool initializes a separate context.