Tool
Key code finder
InputConfig stores every keyboard output as a HID usage code, the same number a USB keyboard sends. Press a key below to find its code and the name the editor shows, or search the table. The code is what you see in a preset file as key 44 for Space.
Click here, then press any key
Waiting for a key
Modifier keys show their left or right code. The fn key is not reported by browsers; in the app it is fn / Globe (hold), code 400, and a Globe tap on its own is code 401.
| Code | Name in InputConfig | Group | In a preset file |
|---|
Notes
- Letters are 4 to 29 (A to Z), digits 1 to 9 are 30 to 38, and 0 is 39. F1 to F12 are 58 to 69; F13 to F24 are 104 to 115 and are the safest keys to assign as app hotkeys, because no Mac keyboard has them.
- Modifiers have a left and a right code. A chord such as Command Shift 3 is stored as three outputs on one row, modifiers first, and sent as a real chord.
- Codes 303 and up are the Mac's special keys (Mission Control, Launchpad, brightness, media, volume) and are sent as those keys, not as F-keys.
- Delete here is the forward delete (code 76); the key labelled Delete on a Mac keyboard is Backspace (42).