KeyCode (ne’s manual)

Next: NameConvert, Previous: Escape, Up: Support Commands [Contents][Index]

#### 4.12.12 KeyCode

Syntax: `KeyCode [k]`
Abbreviation: `KC`

prompts you to press a key, and reports on the status bar the key code `ne` associates with that key, the command currently associated with that key code, as well as the input class for that key code. Input class codes are: ALPHA, COMMAND, RETURN, TAB, IGNORE, and INVALID. This can be useful while configuring your `~/.ne/.keys` file.

If the optional integer k (between 0 and 511) is given, `KeyCode` uses k as the key code and displays the information described above.