Each key of a keyboard have a keycode which is an identifier as a hardware. Inputted character by pressed the key is determiend by the keyboard layout in software layer.
“keycode” is a command line tool to reverse search for keycodes from characters.
“keycode” prints keycodes according to given characters. When argument is not given, a table of keycodes and characters is printed.
keycode [-hvn] [chars]
Copy “keycode” into the folder included in the enviroment variable “PATH” (e.g. /usr/local/bin).
In other ways, you can add the location “keycode” is copyed in into the enviroment variable “PATH”.