mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 06:30:05 +01:00
We had one shared parsing function for all config options so tools parse options that don't actually make sense (e.g. --quiet or --show-keycodes for libinput-list-devices). This patch splits the actual libinput device configuration out and reshuffles everything to make use of that. One large patch, because splitting this up is more confusing than dumping it all. This means the actual option parsing is partially duplicated between debug-gui and debug-events but hey, not everything in life is perfect. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
48 lines
1.4 KiB
Groff
48 lines
1.4 KiB
Groff
.TH libinput-debug-gui "1"
|
|
.SH NAME
|
|
libinput\-debug\-gui \- visual debug helper for libinput
|
|
.SH SYNOPSIS
|
|
.B libinput debug\-gui [\-\-help] [\-\-udev <seat>|\-\-device /dev/input/event0] [configuration options]
|
|
.SH DESCRIPTION
|
|
.PP
|
|
The
|
|
.B "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.
|
|
.PP
|
|
.B Hit Esc to exit this tool.
|
|
.PP
|
|
This is a debugging tool only, its output or behavior may change at any
|
|
time. Do not rely on the output or the behavior.
|
|
.PP
|
|
This tool usually needs to be run as root to have access to the
|
|
/dev/input/eventX nodes.
|
|
.SH OPTIONS
|
|
.TP 8
|
|
.B \-\-device /dev/input/event0
|
|
Use the given device with the path backend.
|
|
.TP 8
|
|
.B \-\-grab
|
|
Exclusively grab all opened devices. This will prevent events from being
|
|
delivered to the host system.
|
|
.TP 8
|
|
.B \-\-help
|
|
Print help
|
|
.TP 8
|
|
.B \-\-udev <seat>
|
|
Use the udev backend to listen for device notifications on the given seat.
|
|
The default behavior is equivalent to \-\-udev "seat0".
|
|
.TP 8
|
|
.B \-\-verbose
|
|
Use verbose output
|
|
.PP
|
|
For libinput configuration options, see libinput-debug-events(1)
|
|
.SH NOTES
|
|
.PP
|
|
Events shown by this tool may not correspond to the events seen by a
|
|
different user of libinput. This tool initializes a separate context.
|
|
.SH LIBINPUT
|
|
Part of the
|
|
.B libinput(1)
|
|
suite
|