8

I am running a userspace driver for a /dev/uinput device in a Wayland desktop session. The instructions suggest running xinput list to confirm that the device is detected.

Of course, xinput is an X.org application. What is the equivalent command for Wayland? (A GNOME GUI equivalent is acceptable.)

7

On Debian the command is:

$ sudo libinput list-devices
# requires the libinput-tools package

On arch-linux:

# libinput list-devices

To list just the device names, no details, use grep:

$ sudo libinput list-devices | grep Device
2

You should be able to use sudo evemu-describe to list the input devices found in /dev/input/event*. It is interactive unless you give it a specific device from the list.

0

According to man 5 sway-input, you could use swaymsg -t get_inputs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.