showkey(1) on Linux
The text 714d65545ec8, as Debian 13 (Trixie) shipped it.
examine the codes sent by the keyboard
Flags it lists
-
--ascii -
--help -
--keycodes -
--scancodes -
--version -
-V -
-a -
-h -
-k -
-s