libinput/tools/libinput-list-kernel-devices.man
Peter Hutterer e6a5c4e175 tools: add a --hid toggle to libinput-list-kernel-devices
Lists all SUBSYSTEM=hid devices, including the respective hidraw and
evdev nodes.

Note that this takes a shortcut in the udev handling: in theory we
*should* compare the hidraw/evdev parent device with our hid device. In
practice, checking if the devpath starts with the same substring is good
enough.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2022-12-08 10:08:44 +10:00

28 lines
789 B
Groff

.TH libinput-list-kernel-devices "1" "" "libinput @LIBINPUT_VERSION@" "libinput Manual"
.SH NAME
libinput\-list\-kernel\-devices \- list all kernel input devices
.SH SYNOPSIS
.B libinput list\-kernel\-devices [\-\-help]
.SH DESCRIPTION
.PP
The
.B "libinput list\-kernel\-devices"
tool iterates through the list of available kernel devices and prints
their device node and device name. By default this tool lists evdev event nodes.
.SH OPTIONS
.TP 8
.B \-\-help
Print help
.TP 8
.B \-\-hid
List HID devices instead of evdev device nodes
.SH NOTES
.PP
A device may be available but not recognized by libinput. This may indicate
a bug with the udev configuration. See the
.B "libinput list\-devices"
tools for the devices recognized by libinput.
.SH LIBINPUT
Part of the
.B libinput(1)
suite