GitHunt
MR

MrComer1337/SC-and-VK-KeyCodes

SC and VK KeyCodes

List of keys and mouse buttons

Mouse buttons

LButton
RButton
MButton
XButton1
XButton2
WheelUp
WheelDown


Letter keys

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z


Digit keys

0
1
2
3
4
5
6
7
8
9


Non-letter keys

Space
`
-
=
[
]
;
'
,
.
/
\


Other keys

AppsKey
Backspace
CapsLock
CtrlBreak
Enter
Esc
LWin
RWin
Pause
PrintScreen
Tab


Modifier keys

Shift
Ctrl
Alt
LShift
RShift
LCtrl
RCtrl
LAlt
RAlt


Cursor control keys





PgUp
PgDn
End
Home
Ins
Del
ScrollLock


Numpad keys

NumLock
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
Numpad +
Numpad /
Numpad Del
Numpad Enter
Numpad *
Numpad -


Function keys

F1
F2
F3
F4
F5
F6
F7
F8
F9
F1
F10
F11
F12


Multimedia keys

Browser_Back
Browser_Forward
Browser_Refresh
Browser_Stop
Browser_Search
Browser_Favorites
Browser_Home
Volume_Mute
Volume_Down
Volume_Up
Media_Next
Media_Prev
Media_Stop
Media_Play_Pause
Launch_Mail
Launch_Media
Launch_App1
Launch_App2


Tables of virtual and scan codes

Mouse buttons table

VK Key name Description
01 LButton Left mouse button
02 RButton Right mouse button
04 MButton Middle mouse button (wheel)
05 XButton1 X1 mouse button
06 XButton2 X2 mouse button
9E WheelDown Turn the wheel downward (toward you)
9F WheelUp Turn the wheel upward (away from you)
9C WheelLeft Scroll to the left
9D WheelRight Scroll to the right

Letter keys table

VK SC Key name
41 01E A
42 030 B
43 02E C
44 020 D
45 012 E
46 021 F
47 022 G
48 023 H
49 017 I
4A 024 J
4B 025 K
4C 026 L
4D 032 M
4E 031 N
4F 018 O
50 019 P
51 010 Q
52 013 R
53 01F S
54 014 T
55 016 U
56 02F V
57 011 W
58 02D X
59 015 Y
5A 02C Z

Digit keys table

VK SC Key name
30 00B 0
31 002 1
32 003 2
33 004 3
34 005 4
35 006 5
36 007 6
37 008 7
38 009 8
39 00A 9

Non-letter keys table

VK SC Key name Description
20 039 Space
C0 029 `
BD 00C -
BB 00D =
BC 033 ,
BE 034 .
BF 035 /
DC 02B \
DB 01A [
DD 01B ]
BA 027 ;
DE 028 '

Other keys table

VK SC Key name Description
5D 15D AppsKey Context menu
08 00E Backspace
14 03A CapsLock
03 146 CtrlBreak
0D 01C Enter
1B 001 Esc Escape
5B 15B LWin Left Windows
5C 15C RWin Right Windows
13 045 Pause
2C 137 PrintScreen
09 00F Tab

Modifier keys table

VK SC Key name Description
10 02A Shift
11 01D Ctrl
12 038 Alt
A0 02A LShift Left shift
A1 036 RShift Right shift
A2 01D LCtrl Left control
A3 11D RCtrl Right control
A4 038 LAlt Left alt
A5 138 RAlt Right alt

Cursor control keys table

VK SC Key name Description
25 14B Left Left arrow
26 148 Up Up arrow
27 14D Right Right arrow
28 150 Down Down arrow
21 149 PgUp Page up
22 151 PgDn Page down
23 14F End
24 147 Home
2D 152 Ins Insert
2E 153 Del Delete
91 046 ScrollLock

Numpad keys table

VK SC Key name Description
60 052 Numpad0
61 04F Numpad1
62 050 Numpad2
63 051 Numpad3
64 04B Numpad4
65 04C Numpad5
66 04D Numpad6
67 047 Numpad7
68 048 Numpad8
69 049 Numpad9
90 145 NumLock
6A 037 NumpadMult *
6B 04E NumpadAdd +
6D 04A NumpadSub -
6E 053 NumpadDot Delete
6F 135 NumpadDiv /
0D 11C NumpadEnter

Function keys table

VK SC Key name
70 03B F1
71 03C F2
72 03D F3
73 03E F4
74 03F F5
75 040 F6
76 041 F7
77 042 F8
78 043 F9
79 044 F10
7A 057 F11
7B 058 F12

Multimedia keys table

VK SC Key name Description
A6 06A Browser_Back
A7 069 Browser_Forward
A8 067 Browser_Refresh
A9 068 Browser_Stop
AA 065 Browser_Search
AB 066 Browser_Favorites
AC 032 Browser_Home
AD 020 Volume_Mute
AE 02E Volume_Down
AF 030 Volume_Up
B0 019 Media_Next
B1 010 Media_Prev
B2 024 Media_Stop
B3 022 Media_Play_Pause
B4 06C Launch_Mail Launch default e-mail program
B5 06D Launch_Media Launch default media player
B6 06B Launch_App1 Launch This Computer
B7 021 Launch_App2 Launch Calculator

End of the document. Empty space for big monitors.




UP! UP! UP!

MrComer1337/SC-and-VK-KeyCodes | GitHunt