wev
Wayland event viewer for input debugging
TLDR
Monitor all events
$ wev
Filter by interface$ wev -f [wl_keyboard]
Filter specific events$ wev -f [wl_keyboard]:[key]
Exclude events$ wev -F [wl_keyboard]:[key]
Write keymap to file$ wev -M [path/to/file]
Print globals$ wev -g
SYNOPSIS
wev [OPTIONS]
DESCRIPTION
wev prints the contents of Wayland events, similar to xev for X11. It displays keyboard, mouse, and other input events as they occur.
This tool is useful for debugging Wayland input handling, discovering keycodes, and understanding Wayland protocol events.
PARAMETERS
-f INTERFACE[:EVENT]
Include only specified interface/events-F INTERFACE[:EVENT]
Exclude specified interface/events-M FILE
Write keymap to file-g
Print Wayland globals
CAVEATS
Wayland only. Output can be verbose. Some events may require specific compositor support.
