Keys

Values

ValueMeaning
NONE0

No keys specified.

SHIFT0x10000
CONTROL0x20000

ditto

ALT0x40000

ditto

WINDOWS0x80000

ditto

A'A'

Letters.

B'B'

ditto

C'C'

ditto

D'D'

ditto

E'E'

ditto

F'F'

ditto

G'G'

ditto

H'H'

ditto

I'I'

ditto

J'J'

ditto

K'K'

ditto

L'L'

ditto

M'M'

ditto

N'N'

ditto

O'O'

ditto

P'P'

ditto

Q'Q'

ditto

R'R'

ditto

S'S'

ditto

T'T'

ditto

U'U'

ditto

V'V'

ditto

W'W'

ditto

X'X'

ditto

Y'Y'

ditto

Z'Z'

ditto

D0'0'

Digits.

D1'1'

ditto

D2'2'

ditto

D3'3'

ditto

D4'4'

ditto

D5'5'

ditto

D6'6'

ditto

D7'7'

ditto

D8'8'

ditto

D9'9'

ditto

F1112

F - function keys.

F2113

ditto

F3114

ditto

F4115

ditto

F5116

ditto

F6117

ditto

F7118

ditto

F8119

ditto

F9120

ditto

F10121

ditto

F11122

ditto

F12123

ditto

F13124

ditto

F14125

ditto

F15126

ditto

F16127

ditto

F17128

ditto

F18129

ditto

F19130

ditto

F20131

ditto

F21132

ditto

F22133

ditto

F23134

ditto

F24135

ditto

NUM_PAD096

Numbers on keypad.

NUM_PAD197

ditto

NUM_PAD298

ditto

NUM_PAD399

ditto

NUM_PAD4100

ditto

NUM_PAD5101

ditto

NUM_PAD6102

ditto

NUM_PAD7103

ditto

NUM_PAD8104

ditto

NUM_PAD9105

ditto

ADD107
APPS93

Application.

ATTN246
BACK8

Backspace.

CANCEL3
CAPITAL20
CAPS_LOCK20

ditto

CLEAR12
CONTROL_KEY17
CRSEL247
DECIMAL110
DEL46
DELETEDEL
PERIOD190
DOTPERIOD

ditto

DIVIDE111
DOWN40

Down arrow.

END35
ENTER13
ERASE_EOF249
ESCAPE27
EXECUTE43
EXSEL248
FINAL_MODE4

IME final mode.

HANGUL_MODE21

IME Hangul mode.

HANGUEL_MODE21

ditto

HANJA_MODE25

IME Hanja mode.

HELP47
HOME36
IME_ACCEPT30
IME_CONVERT28
IME_MODE_CHANGE31
IME_NONCONVERT29
INSERT45
JUNJA_MODE23
KANA_MODE21
KANJI_MODE25
LEFT_CONTROL162

Left Ctrl.

LEFT37

Left arrow.

LINE_FEED10
LEFT_MENU164

Left Alt.

LEFT_SHIFT160
LEFT_WIN91

Left Windows logo.

MULTIPLY106
NEXT34

Page down.

NO_NAME252
NUM_LOCK144
OEM8223
OEM_CLEAR254
PA1253
PAGE_DOWN34
PAGE_UP33
PAUSE19
PLAY250
PRINT42
PROCESS_KEY229
RIGHT_CONTROL163

Right Ctrl.

RETURN13
RIGHT_MENU165

Right Alt.

RIGHT_SHIFT161
RIGHT_WIN92

Right Windows logo.

SCROLL145

Scroll lock.

SELECT41
SEPARATOR108
SHIFT_KEY16
SNAPSHOT44

Print screen.

SPACE32
SPACEBARSPACE
SUBTRACT109
TAB9
UP38

Up arrow.

ZOOM251
BROWSER_BACK166
BROWSER_FAVORITES171

ditto

BROWSER_FORWARD167

ditto

BROWSER_HOME172

ditto

BROWSER_REFRESH168

ditto

BROWSER_STOP169

ditto

LAUNCH_APPLICATION1182
LAUNCH_APPLICATION2183

ditto

LAUNCH_MAIL180

ditto

MEDIA_NEXT_TRACK176
MEDIA_PLAY_PAUSE179

ditto

MEDIA_PREVIOUS_TRACK177

ditto

MEDIA_STOP178

ditto

OEM_BACKSLASH226
OEM_CLOSE_BRACKETS221
OEM_COMMA188
OEM_MINUS189
OEM_OPEN_BRACKETS219
OEM_PERIOD190
OEM_PIPE220
OEM_PLUS187
OEM_QUESTION191
OEM_QUOTES222
OEM_SEMICOLON186
OEM_TILDE192
SELECT_MEDIA181
VOLUME_DOWN174
VOLUME_MUTE173

ditto

VOLUME_UP175

ditto

KEY_CODE0xFFFF

Bit mask to extract key code from key value.

MODIFIERS0xFFFF0000

Bit mask to extract modifiers from key value.

Meta