Virtual Key Codes keyboard shortcuts 

Virtual Key Codes    

Zeynel -
4 years ago
- Shortcuts

Advertisement

Used for miscellaneous characters; it can vary by keyboard: VK_OEM_8 (0xDF)
(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)
1
Num 1

VK_NUMPAD1 (0x61)

0
Num 2

VK_NUMPAD2 (0x62)

0
Num 8

VK_NUMPAD8 (0x68)

0
Num 3

VK_NUMPAD3 (0x63)

0
Num 4

VK_NUMPAD4 (0x64)

0
Num 6

VK_NUMPAD6 (0x66)

0
Num 5

VK_NUMPAD5 (0x65)

0
Num 7

VK_NUMPAD7 (0x67)

1
Num 9

VK_NUMPAD9 (0x69)

1
Num ,

VK_DECIMAL (0x6E)

-1
X1

VK_XBUTTON1 (0x05)

-2
X2

VK_XBUTTON2 (0x06)

2
[Reserved]

- (0x0A-0B)

0
[Reserved]

- (0x5E)

0
[Reserved]

- (0xC1-D7)

0
[Reserved]

- (0xB8-B9)

0
[Reserved]

- (0xE0)

0
Clear

VK_OEM_CLEAR (0xFE)

1
Clear

VK_CLEAR (0x0C)

0
[Undefined]

- (0x0E-0F)

0
[Undefined]

- (0x3A-40)

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)

-1
[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)

-1
[IME_Kanji_mode]

VK_KANJI (0x19)

0
{IME_Off]

VK_IME_OFF (0x1A)

0
[IME_convert]

VK_CONVERT (0x1C)

1
[IME_nonconvert]

VK_NONCONVERT (0x1D)

0
[IME_accept]

VK_ACCEPT (0x1E)

0
[IME_mode_change_request]

VK_MODECHANGE (0x1F)

0
EXECUTE

VK_EXECUTE (0x2B)

0
Sleep

VK_SLEEP (0x5F)

1
Separator

VK_SEPARATOR (0x6C)

1
F17

VK_F17 (0x80)

0
F18

VK_F18 (0x81)

-1
F19

VK_F19 (0x82)

2
F20

VK_F20 (0x83)

3
F21

VK_F21 (0x84)

1
F22

VK_F22 (0x85)

4
F23

VK_F23 (0x86)

2
F24

VK_F24 (0x87)

1
[OEM_specific]

0x92-96

0
[OEM_specific]

0xE6

0
[OEM_specific]

0xE1

0
[OEM_specific]

0xE3-E4

Advertisement

0
[OEM_specific]

0xE9-F5

0
[(Not assigned)]

- (0xD8-DA)

0
[(Not assigned)]

- (0x97-9F)

0
Select

VK_SELECT (0x29)

0
VolumeDown

VK_VOLUME_DOWN (0xAE)

0
VolumeUp

VK_VOLUME_UP (0xAF)

0
Zoom

VK_ZOOM (0xFB)

0
F16

VK_F16 (0x7F)

-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
StopMedia

VK_MEDIA_STOP (0xB2)

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
[ImeProcess]

VK_PROCESSKEY (0xE5)

0
Attn

VK_ATTN (0xF6)

-1
CrSel

VK_CRSEL (0xF7)

2
ExSel

VK_EXSEL (0xF8)

0
EraseEOF

VK_EREOF (0xF9)

0
Play

VK_PLAY (0xFA)

0
Reserved

VK_NONAME (0xFC)

0
PA1

VK_PA1 (0xFD)

0
PlayPause

VK_MEDIA_PLAY_PAUSE (0xB3)

0
PreviousTrack

VK_MEDIA_PREV_TRACK (0xB1)

0
NextTrack

VK_MEDIA_NEXT_TRACK (0xB0)

0
Help

VK_HELP (0x2F)

-2
Num /

VK_DIVIDE (0x6F)

1
PRINT

VK_PRINT (0x2A)

-1
Alt

VK_MENU (0x12)

1
\

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

0
\

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

-1
↑   Left Shift

VK_LSHIFT (0xA0)

0

(Natural keyboard) VK_APPS (0x5D)

-2
Backspace

VK_BACK (0x08)

0
↑   Right Shift

VK_RSHIFT (0xA1)

6
Ctrl + Break

VK_CANCEL (0x03)

1
F14

VK_F14 (0x7D)

-1
F13

VK_F13 (0x7C)

0
F15

VK_F15 (0x7E)

1
Left Control

VK_LCONTROL (0xA2)

0
*

VK_MULTIPLY (0x6A)

0
Right Control

VK_RCONTROL (0xA3)

0
Left Win

(Natural keyboard) VK_LWIN (0x5B)

0
Right Win

(Natural keyboard) VK_RWIN (0x5C)

0
/

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

1
+

VK_ADD (0x6B)

0
+

VK_OEM_PLUS (0xBB)

0
-

VK_OEM_MINUS (0xBD)

-1
-

VK_SUBTRACT (0x6D)

0
,

VK_OEM_COMMA (0xBC)

1
.

VK_OEM_PERIOD (0xBE)

0
I

0x49

1
<

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

1
Print Screen

VK_SNAPSHOT (0x2C)

1
Ctrl

VK_CONTROL (0x11)

1
↑  Shift

VK_SHIFT (0x10)

0
Pause

VK_PAUSE (0x13)

3
~

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

0
Scroll Lock

VK_SCROLL (0x91)

0

VK_MBUTTON (0x04)

-1
Num Lock

VK_NUMLOCK (0x90)

0
Insert

VK_INSERT (0x2D)

-1
F8

VK_F8 (0x77)

0
V

0x56

1
D

0x44

-3

VK_LBUTTON (0x01)

0

VK_RBUTTON (0x02)

0
⇪ Caps Lock

VK_CAPITAL (0x14)

1
G

0x47

0
Y

0x59

0
6

0x36

1
7

0x37

0
8

0x38

0
9

0x39

1
]

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

1
[

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

0
2

0x32

0
W

0x57

0
3

0x33

0
4

0x34

0
5

0x35


Share this page on:
Is this page helpful?
0 0

Program information

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

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

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

How easy to press shortcuts: 73%

More information >>

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

Shortcut count: 185

Platform detected: Windows or Linux

Similar programs



User operations

Add Virtual Key Codes to your list of favorites

Advertisement


What is your favorite Virtual Key Codes hotkey? Do you have any useful tips for it? Let other users know below.


Only registered users can post links.
 
No comments yet. Ask, or type the first one!

Latest articles