Virtual Key Codes keyboard shortcuts

Virtual Key Codes  

Zeynel Abidin Öztürk -
7 months ago
- Shortcuts

The Virtual Key Codes list below is sorted by hexadecimal value, however we put the keyboard key column as the first column (that is how our site is formatted). Tip: Try using search box below if you're searching for a specific code or key.

0

VK_LBUTTON (0x01)

0

VK_RBUTTON (0x02)

1
Ctrl + Break

VK_CANCEL (0x03)

1

VK_MBUTTON (0x04)

-1
X1

VK_XBUTTON1 (0x05)

0
X2

VK_XBUTTON2 (0x06)

1
Backspace

VK_BACK (0x08)

0
Tab

VK_TAB (0x09)

0
[Reserved]

- (0x0A-0B)

0
Clear

VK_CLEAR (0x0C)

0
⤶ Enter

VK_RETURN (0x0D)

0
[Undefined]

- (0x0E-0F)

0
↑   Shift

VK_SHIFT (0x10)

0
Ctrl

VK_CONTROL (0x11)

-1
Alt

VK_MENU (0x12)

0
Pause

VK_PAUSE (0x13)

0
⇪ Caps Lock

VK_CAPITAL (0x14)

0
[IME_Kana_mode]

VK_KANA (0x15)

0
[IME_Hanguel_mode]

(maintained for compatibility; use VK_HANGUL) VK_HANGUEL (0x15)

-1
[IME

Hangul mode]   VK_HANGUL (0x15)

0
[IME_On]

VK_IME_ON (0x16)

0
[IME_Junja_mode]

VK_JUNJA (0x17)

0
[IME_final_mode]

VK_FINAL (0x18)

0
[IME_Hanja_mode]

VK_HANJA (0x19)

0
[IME_Kanji_mode]

VK_KANJI (0x19)

0
{IME_Off]

VK_IME_OFF (0x1A)

0
Esc

VK_ESCAPE (0x1B)

0
[IME_convert]

VK_CONVERT (0x1C)

0
[IME_nonconvert]

VK_NONCONVERT (0x1D)

0
[IME_accept]

VK_ACCEPT (0x1E)

0
[IME_mode_change_request]

VK_MODECHANGE (0x1F)

0
Space

VK_SPACE (0x20)

0
Page Up

VK_PRIOR (0x21)

0
Page Down

VK_NEXT (0x22)

0
End

VK_END (0x23)

-1
Home

VK_HOME (0x24)

0

VK_LEFT (0x25)

0

VK_UP

0

VK_RIGHT (0x27)

0

VK_DOWN (0x28)

0
Select

VK_SELECT (0x29)

1
PRINT

VK_PRINT (0x2A)

0
EXECUTE

VK_EXECUTE (0x2B)

0
Print Screen

VK_SNAPSHOT (0x2C)

0
Insert

VK_INSERT (0x2D)

0
Del

VK_DELETE (0x2E)

0
Help

VK_HELP (0x2F)

0
0

0x30

0
1

0x31

0
2

0x32

0
3

0x33

0
4

0x34

0
5

0x35

0
6

0x36

0
7

0x37

0
8

0x38

0
9

0x39

0
[Undefined]

- (0x3A-40)

2
B

0x42

0
C

0x43

0
D

0x44

0
E

0x45

0
F

0x46

0
G

0x47

0
H

0x48

0
I

0x49

0
J

0x4A

0
K

0x4B

0
L

0x4C

0
M

0x4D

1
N

0x4E

0
O

0x4F

0
P

0x50

0
Q

0x51

0
R

0x52

0
S

0x53

0
T

0x54

0
U

0x55

0
V

0x56

0
W

0x57

0
X

0x58

0
Y

0x59

0
Z

0x5A

0
Left Win

(Natural keyboard) VK_LWIN (0x5B)

0
Right Win

(Natural keyboard) VK_RWIN (0x5C)

0

(Natural keyboard) VK_APPS (0x5D)

0
[Reserved]

- (0x5E)

0
Sleep

VK_SLEEP (0x5F)

0
Num 1

VK_NUMPAD1 (0x61)

0
Num 2

VK_NUMPAD2 (0x62)

0
Num 3

VK_NUMPAD3 (0x63)

0
Num 4

VK_NUMPAD4 (0x64)

0
Num 5

VK_NUMPAD5 (0x65)

0
Num 6

VK_NUMPAD6 (0x66)

0
Num 7

VK_NUMPAD7 (0x67)

0
Num 8

VK_NUMPAD8 (0x68)

0
Num 9

VK_NUMPAD9 (0x69)

0
*

VK_MULTIPLY (0x6A)

0
+

VK_ADD (0x6B)

0
Separator

VK_SEPARATOR (0x6C)

0
-

VK_SUBTRACT (0x6D)

0
Num ,

VK_DECIMAL (0x6E)

-1
Num /

VK_DIVIDE (0x6F)

0
F1

VK_F1 (0x70)

0
F2

VK_F2 (0x71)

0
F3

VK_F3 (0x72)

0
F4

VK_F4 (0x73)

0
F5

VK_F5 (0x74)

0
F6

VK_F6 (0x75)

0
F7

VK_F7 (0x76)

0
F8

VK_F8 (0x77)

0
F9

VK_F9 (0x78)

0
F10

VK_F10 (0x79)

0
F11

VK_F11 (0x7A)

0
F12

VK_F12 (0x7B)

0
F13

VK_F13 (0x7C)

0
F14

VK_F14 (0x7D)

0
F15

VK_F15 (0x7E)

0
F16

VK_F16 (0x7F)

0
F17

VK_F17 (0x80)

0
F18

VK_F18 (0x81)

0
F19

VK_F19 (0x82)

0
F20

VK_F20 (0x83)

0
F21

VK_F21 (0x84)

0
F22

VK_F22 (0x85)

0
F23

VK_F23 (0x86)

0
F24

VK_F24 (0x87)

0
Num Lock

VK_NUMLOCK (0x90)

0
Scroll Lock

VK_SCROLL (0x91)

1
[OEM_specific]

0x92-96

0
[Unassigned]

- (0x97-9F)

0
↑   Left Shift

VK_LSHIFT (0xA0)

0
↑   Right Shift

VK_RSHIFT (0xA1)

0
Left Control

VK_LCONTROL (0xA2)

0
Right Control

VK_RCONTROL (0xA3)

-1
LeftContextMenu

VK_LMENU (0xA4)

0
RightContextMenu

VK_RMENU (0xA5)

0
BrowserForward

VK_BROWSER_FORWARD (0xA7)

0
BrowserRefresh

VK_BROWSER_REFRESH (0xA8)

0
BrowserStop

VK_BROWSER_STOP (0xA9)

0
BrowserSearch

VK_BROWSER_SEARCH (0xAA)

0
BrowserFavorites

VK_BROWSER_FAVORITES (0xAB)

0
BrowserStart

VK_BROWSER_HOME (0xAC)

0
or BrowserHome
0
VolumeMute

VK_VOLUME_MUTE (0xAD)

0
VolumeDown

VK_VOLUME_DOWN (0xAE)

0
VolumeUp

VK_VOLUME_UP (0xAF)

0
NextTrack

VK_MEDIA_NEXT_TRACK (0xB0)

0
PreviousTrack

VK_MEDIA_PREV_TRACK (0xB1)

0
StopMedia

VK_MEDIA_STOP (0xB2)

0
PlayPause

VK_MEDIA_PLAY_PAUSE (0xB3)

0
StartMail

VK_LAUNCH_MAIL (0xB4)

0
SelectMedia

VK_LAUNCH_MEDIA_SELECT (0xB5)

0
StartApplication1

VK_LAUNCH_APP1 (0xB6)

0
StartApplication2

VK_LAUNCH_APP2 (0xB7)

0
[Reserved]

- (0xB8-B9)

0
+

VK_OEM_PLUS (0xBB)

0
,

VK_OEM_COMMA (0xBC)

0
-

VK_OEM_MINUS (0xBD)

0
.

VK_OEM_PERIOD (0xBE)

0
/

(Used for miscellaneous characters; it can vary by keyboard.  For the US standard keyboard, the '/?' key) VK_OEM_2 (0xBF)

1
~

(Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '`~' key) VK_OEM_3 (0xC0)

0
[Reserved]

- (0xC1-D7)

0
[Unassigned]

- (0xD8-DA)

0
[

(Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '[{' key) VK_OEM_4 (0xDB)

0
\

(Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the '\|' key) VK_OEM_5 (0xDC)

0
]

(Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the ']}' key) VK_OEM_6 (0xDD)

0
'

(Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard, the 'single-quote/double-quote' key) VK_OEM_7 (0xDE)

Used for miscellaneous characters; it can vary by keyboard: VK_OEM_8 (0xDF)
0
[Reserved]

- (0xE0)

0
[OEM_specific]

0xE1

0
<

(Either the angle bracket key or the backslash key on the RT 102-key keyboard) VK_OEM_102 (0xE2)

0
or \
0
[OEM_specific]

0xE3-E4

0
[ImeProcess]

VK_PROCESSKEY (0xE5)

0
[OEM_specific]

0xE6

(Used to pass Unicode characters as if they were keystrokes. The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods.) VK_PACKET (0xE7)
0
[OEM_specific]

0xE9-F5

0
Attn

VK_ATTN (0xF6)

0
CrSel

VK_CRSEL (0xF7)

0
ExSel

VK_EXSEL (0xF8)

0
EraseEOF

VK_EREOF (0xF9)

0
Play

VK_PLAY (0xFA)

0
Zoom

VK_ZOOM (0xFB)

0
Reserved

VK_NONAME (0xFC)

0
PA1

VK_PA1 (0xFD)

0
Clear

VK_OEM_CLEAR (0xFE)


Share this page on:

Program information

Program name: Virtual Key Codes Virtual Key Codes (Developer tools)

Somewhat contrary to its name, "Virtual Key Codes" mainly consist of real keyboard keys but also include some "virtual" keys such as mouse buttons. The list includes symbolic constant names, hexadecimal values and keyboard equivalents for virtual key codes. These codes often used by Windows software developers.

Web page: docs.microsoft.com/en-us/windo...

Last update: 12/23/2020 11:16 AM UTC

How easy to press shortcuts: 73%

More information >>

Updated: Updated program information. (5 updates.) 12/22/2020 2:40:40 PM New program added.
12/22/2020 2:41:53 PM Updated program information.
12/22/2020 2:48:41 PM Updated program information.
12/23/2020 12:15:28 PM Updated program information.
12/23/2020 12:16:23 PM Updated program information.

Shortcut count: 185

Platform detected: Windows or Linux (not macOS)

Similar programs



Advertisement

Join our mailing list!

Your email is kept private and we don't spam.