Codes


Modified HID Code Set


Mainly HID page 7, with additions to support internal features, media keys, and power keys.
Codes in italics are used internally by the converter, and are not output.
Codes with highlight are output, but may not be supported by all OS (notably Windows).
Media and Power codes are translated to the correct code page before being output.

NameHID CodeDescription
UNASSIGNED0x00No Event
OVERRUN_ERROR0x01Overrun Error
POST_FAIL0x02POST Fail
ERROR_UNDEFINED0x03ErrorUndefined
A0x04a A
B0x05b B
C0x06c C
D0x07d D
E0x08e E
F0x09f F
G0x0Ag G
H0x0Bh H
I0x0Ci I
J0x0Dj J
K0x0Ek K
L0x0Fl L
M0x10m M
N0x11n N
O0x12o O
P0x13p P
Q0x14q Q
R0x15r R
S0x16s S
T0x17t T
U0x18u U
V0x19v V
W0x1Aw W
X0x1Bx X
Y0x1Cy Y
Z0x1Dz Z
10x1E1 !
20x1F2 @
30x203 #
40x214 $
50x225 %
60x236 ^
70x247 &
80x258 *
90x269 (
00x270 )
ENTER0x28Return
ESC0x29Escape
BACKSPACE0x2ABackspace
TAB0x2BTab
SPACE0x2CSpace
MINUS0x2D- _
EQUAL0x2E= +
LEFT_BRACE0x2F[ {
RIGHT_BRACE0x30] }
BACKSLASH0x31\ |
EUROPE_10x32Europe 1
SEMICOLON0x33; :
QUOTE0x34' "
BACK_QUOTE0x35` ~
COMMA0x36, <
PERIOD0x37. >
SLASH0x38/ ?
CAPS_LOCK0x39Caps Lock
F10x3AF1
F20x3BF2
F30x3CF3
F40x3DF4
F50x3EF5
F60x3FF6
F70x40F7
F80x41F8
F90x42F9
F100x43F10
F110x44F11
F120x45F12
PRINTSCREEN0x46Print Screen
SCROLL_LOCK0x47Scroll Lock
PAUSE0x48Pause
INSERT0x49Insert
HOME0x4AHome
PAGE_UP0x4BPage Up
DELETE0x4CDelete
END0x4DEnd
PAGE_DOWN0x4EPage Down
RIGHT0x4FRight Arrow
LEFT0x50Left Arrow
DOWN0x51Down Arrow
UP0x52Up Arrow
NUM_LOCK0x53Num Lock
PAD_SLASH0x54Keypad /
PAD_ASTERIX0x55Keypad *
PAD_MINUS0x56Keypad -
PAD_PLUS0x57Keypad +
PAD_ENTER0x58Keypad Enter
PAD_10x59Keypad 1 End
PAD_20x5AKeypad 2 Down
PAD_30x5BKeypad 3 PageDn
PAD_40x5CKeypad 4 Left
PAD_50x5DKeypad 5
PAD_60x5EKeypad 6 Right
PAD_70x5FKeypad 7 Home
PAD_80x60Keypad 8 Up
PAD_90x61Keypad 9 PageUp
PAD_00x62Keypad 0 Insert
PAD_PERIOD0x63Keypad . Delete
EUROPE_20x64Europe 2
APP0x65App
POWER0x66Keyboard Power
PAD_EQUALS0x67Keypad =
F130x68F13
F140x69F14
F150x6AF15
F160x6BF16
F170x6CF17
F180x6DF18
F190x6EF19
F200x6FF20
F210x70F21
F220x71F22
F230x72F23
F240x73F24
EXECUTE0x74Keyboard Execute
HELP0x75Keyboard Help
MENU0x76Keyboard Menu
SELECT0x77Keyboard Select
STOP0x78Keyboard Stop
AGAIN0x79Keyboard Again
UNDO0x7AKeyboard Undo
CUT0x7BKeyboard Cut
COPY0x7CKeyboard Copy
PASTE0x7DKeyboard Paste
FIND0x7EKeyboard Find
MUTE0x7FKeyboard Mute
VOLUME_UP0x80Keyboard Volume Up
VOLUME_DOWN0x81Keyboard Volume Dn
LOCKING_CAPS_LOCK0x82Keyboard Locking Caps Lock
LOCKING_NUM_LOCK0x83Keyboard Locking Num Lock
LOCKING_SCROLL_LOCK0x84Keyboard Locking Scroll Lock
PAD_COMMA0x85Keypad comma (Brazilian Keypad .)
EQUAL_SIGN0x86Keyboard Equal Sign
INTERNATIONAL_10x87Keyboard Int'l 1 (Ro)
INTERNATIONAL_20x88Keyboard Intl'2 (Katakana/Hiragana)
INTERNATIONAL_30x89Keyboard Int'l 2 (Yen)
INTERNATIONAL_40x8AKeyboard Int'l 4 (Henkan)
INTERNATIONAL_50x8BKeyboard Int'l 5 (Muhenkan)
INTERNATIONAL_60x8CKeyboard Int'l 6 (PC9800 Keypad comma)
INTERNATIONAL_70x8DKeyboard Int'l 7
INTERNATIONAL_80x8EKeyboard Int'l 8
INTERNATIONAL_90x8FKeyboard Int'l 9
LANG_10x90Keyboard Lang 1 (Hanguel/English)
LANG_20x91Keyboard Lang 2 (Hanja)
LANG_30x92Keyboard Lang 3 (Katakana)
LANG_40x93Keyboard Lang 4 (Hiragana)
LANG_50x94Keyboard Lang 5 (Zenkaku/Hankaku)
LANG_60x95Keyboard Lang 6
LANG_70x96Keyboard Lang 7
LANG_80x97Keyboard Lang 8
LANG_90x98Keyboard Lang 9
ALTERNATE_ERASE0x99Keyboard Alternate Erase
SYSREQ_ATTN0x9AKeyboard SysReq/Attention
CANCEL0x9BKeyboard Cancel
CLEAR0x9CKeyboard Clear
PRIOR0x9DKeyboard Prior
RETURN0x9EKeyboard Return
SEPARATOR0x9FKeyboard Separator
OUT0xA0Keyboard Out
OPER0xA1Keyboard Oper
CLEAR_AGAIN0xA2Keyboard Clear/Again
CRSEL_PROPS0xA3Keyboard CrSel/Props
EXSEL0xA4Keyboard ExSel
SYSTEM_POWER0xA8System Power
SYSTEM_SLEEP0xA9System Sleep
SYSTEM_WAKE0xAASystem Wake
AUX10xABAuxiliary key 1
AUX20xACAuxiliary key 2
AUX30xADAuxiliary key 3
AUX40xAEAuxiliary key 4
AUX50xAFAuxiliary key 5
EXTRA_LALT0xB1AT-F extra pad lhs of space
EXTRA_PAD_PLUS0xB2Term extra pad bottom of keypad +
EXTRA_RALT0xB3AT-F extra pad rhs of space
EXTRA_EUROPE_20xB4AT-F extra pad lhs of enter
EXTRA_BACKSLASH0xB5AT-F extra pad top of enter
EXTRA_INSERT0xB6AT-F extra pad lhs of Insert
EXTRA_F10xB7122-key Terminal lhs F1
EXTRA_F20xB8122-key Terminal lhs F2
EXTRA_F30xB9122-key Terminal lhs F3
EXTRA_F40xBA122-key Terminal lhs F4
EXTRA_F50xBB122-key Terminal lhs F5
EXTRA_F60xBC122-key Terminal lhs F6
EXTRA_F70xBD122-key Terminal lhs F7
EXTRA_F80xBE122-key Terminal lhs F8
EXTRA_F90xBF122-key Terminal lhs F9
EXTRA_F100xC0122-key Terminal lhs F10
EXTRA_SYSRQ0xC2Sys Req (AT 84-key)
FN10xD0Function layer key 1
FN20xD1Function layer key 2
FN30xD2Function layer key 3
FN40xD3Function layer key 4
FN50xD4Function layer key 5
FN60xD5Function layer key 6
FN70xD6Function layer key 7
FN80xD7Function layer key 8
SELECT_00xD8Select reset
SELECT_10xD9Select 1 toggle
SELECT_20xDASelect 2 toggle
SELECT_30xDBSelect 3 toggle
SELECT_40xDCSelect 4 toggle
SELECT_50xDDSelect 5 toggle
SELECT_60xDESelect 6 toggle
SELECT_70xDFSelect 7 toggle
LCTRL0xE0Left Control
LSHIFT0xE1Left Shift
LALT0xE2Left Alt
LGUI0xE3Left GUI
RCTRL0xE4Right Control
RSHIFT0xE5Right Shift
RALT0xE6Right Alt
RGUI0xE7Right GUI
MEDIA_NEXT_TRACK0xE8Scan Next Track
MEDIA_PREV_TRACK0xE9Scan Previous Track
MEDIA_STOP0xEAStop
MEDIA_PLAY_PAUSE0xEBPlay/ Pause
MEDIA_MUTE0xECMute
MEDIA_BASS_BOOST0xEDBass Boost
MEDIA_LOUDNESS0xEELoudness
MEDIA_VOLUME_UP0xEFVolume Up
MEDIA_VOLUME_DOWN0xF0Volume Down
MEDIA_BASS_UP0xF1Bass Up
MEDIA_BASS_DOWN0xF2Bass Down
MEDIA_TREBLE_UP0xF3Treble Up
MEDIA_TREBLE_DOWN0xF4Treble Down
MEDIA_MEDIA_SELECT0xF5Media Select
MEDIA_MAIL0xF6Mail
MEDIA_CALCULATOR0xF7Calculator
MEDIA_MY_COMPUTER0xF8My Computer
MEDIA_WWW_SEARCH0xF9WWW Search
MEDIA_WWW_HOME0xFAWWW Home
MEDIA_WWW_BACK0xFBWWW Back
MEDIA_WWW_FORWARD0xFCWWW Forward
MEDIA_WWW_STOP0xFDWWW Stop
MEDIA_WWW_REFRESH0xFEWWW Refresh
MEDIA_WWW_FAVORITES0xFFWWW Favorites

Deprecated Code Names v1.0+


The following code names are deprecated, and should no longer be used.
They are included for compatibility with older config files written for v0.997.
Replacements for these names have been added beginning 'EXTRA_'.
(As in, the change is just in the names of these codes).

NameHID CodeDescription
FAKE_010xB0extra
FAKE_020xB1AT-F extra pad lhs of space
FAKE_030xB2Term extra pad bottom of keypad +
FAKE_040xB3AT-F extra pad rhs of space
FAKE_050xB4AT-F extra pad lhs of enter
FAKE_060xB5AT-F extra pad top of enter
FAKE_070xB6AT-F extra pad lhs of Insert
FAKE_080xB7Term F1
FAKE_090xB8Term F2
FAKE_100xB9Term F3
FAKE_110xBATerm F4
FAKE_120xBBTerm F5
FAKE_130xBCTerm F6
FAKE_140xBDTerm F7
FAKE_150xBETerm F8
FAKE_160xBFTerm F9
FAKE_170xC0Term F10
FAKE_180xC1extra
FAKE_190xC2Sys Req (AT 84-key)

Modifiers


For most uses, either a single key or a combination can be specified.
Depending on context, a combination might mean 'any' or 'all' of the specified modifiers.

NameDescription
LCTRLLeft Control
LSHIFTLeft Shift
LALTLeft Alt
LGUILeft GUI
RCTRLRight Control
RSHIFTRight Shift
RALTRight Alt
RGUIRight GUI
CTRLEither/Both Control (shorthand for LCTRL RCTRL)
SHIFTEither/Both Shift (shorthand for LSHIFT RSHIFT)
ALTEither/Both Alt (shorthand for LALT RALT)
GUIEither/Both GUI (shorthand for LGUI RGUI)
ALLAny/All (shorthand for CTRL SHIFT ALT GUI)