showkey(1) on Linux
The text aee42ec04522, as Debian 3.1 (Sarge) shipped it.
examine the scan codes and keycodes sent by the keyboard
Flags it lists
-
--help -
--keycodes -
--keymap -
--scancodes -
--version -
-V -
-h -
-k -
-m -
-s