List of Keycodes
This is the reference page for keycodes used by behaviors. Use the table of contents (on the right or the top) for easy navigation.
warning
Take extra notice of the spelling of the keycodes, especially the shorthand spelling. Otherwise, it will result in an elusive parsing error!
Keyboard vs. Consumer keycodes
In the below tables, there are keycode pairs with similar names where one variant has a K_
prefix and another C_
.
These variants correspond to similarly named usages from different HID usage pages,
namely the "keyboard/keypad" and "consumer" ones respectively.
In practice, some OS and applications might listen to only one of the variants. You can use the values in the compatibility columns below to assist you in selecting which one to use.
WWindows
LLinux
AAndroid
mmacOS
iiOS