Virtual Key Codes keyboard shortcuts

Virtual Key Codes  

Zeynel Öztürk -
3 years 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.

-2

VK_LBUTTON (0x01)

0

VK_RBUTTON (0x02)

6
Ctrl + Break

VK_CANCEL (0x03)

0

VK_MBUTTON (0x04)

-2
X1

VK_XBUTTON1 (0x05)

-2
X2

VK_XBUTTON2 (0x06)

Advertisement

-2
Backspace

VK_BACK (0x08)

-1
Tab

VK_TAB (0x09)

2
[Reserved]

- (0x0A-0B)

0
Clear

VK_CLEAR (0x0C)

-1
⤶ Enter

VK_RETURN (0x0D)

0
[Undefined]

- (0x0E-0F)

1
↑  Shift

VK_SHIFT (0x10)

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

-1
[IME_Kanji_mode]

VK_KANJI (0x19)

0
{IME_Off]

VK_IME_OFF (0x1A)

1
Esc

VK_ESCAPE (0x1B)

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
Space

VK_SPACE (0x20)

0
Page Up

VK_PRIOR (0x21)

-1
Page Down

VK_NEXT (0x22)

0
End

VK_END (0x23)

-1
Home

VK_HOME (0x24)

0

VK_LEFT (0x25)

1

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)

1
Print Screen

VK_SNAPSHOT (0x2C)

0
Insert

VK_INSERT (0x2D)

0
Del

VK_DELETE (0x2E)

0
Help

VK_HELP (0x2F)

3
0

0x30

0
1

0x31

0
2

0x32

0
3

0x33

0
4

0x34

0
5

0x35

0
6

0x36

1
7

0x37

0
8

0x38

0
9

0x39

Advertisement

1
[Undefined]

- (0x3A-40)

0
B

0x42

0
C

0x43

1
D

0x44

0
E

0x45

0
F

0x46

0
G

0x47

0
H

0x48

0
I

0x49

-1
J

0x4A

0
K

0x4B

0
L

0x4C

-1
M

0x4D

1
N

0x4E

1
O

0x4F

0
P

0x50

0
Q

0x51

0
R

0x52

0
S

0x53

0
T

0x54

1
U

0x55

0
V

0x56

0
W

0x57

0
X

0x58

0
Y

0x59

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

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

1
Num 9

VK_NUMPAD9 (0x69)

0
*

VK_MULTIPLY (0x6A)

1
+

VK_ADD (0x6B)

1
Separator

VK_SEPARATOR (0x6C)

-1
-

VK_SUBTRACT (0x6D)

1
Num ,

VK_DECIMAL (0x6E)

-2
Num /

VK_DIVIDE (0x6F)

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

3
F11

VK_F11 (0x7A)

0
F12

VK_F12 (0x7B)

-1
F13

VK_F13 (0x7C)

1
F14

VK_F14 (0x7D)

0
F15

VK_F15 (0x7E)

0
F16

VK_F16 (0x7F)

1
F17

VK_F17 (0x80)

0
F18

VK_F18 (0x81)

-1
F19

VK_F19 (0x82)

1
F20

VK_F20 (0x83)

3
F21

VK_F21 (0x84)

1
F22

VK_F22 (0x85)

4
F23

VK_F23 (0x86)

1
F24

VK_F24 (0x87)

-1
Num Lock

VK_NUMLOCK (0x90)

0
Scroll Lock

VK_SCROLL (0x91)

1
[OEM_specific]

0x92-96

0
[(Not assigned)]

- (0x97-9F)

-1
↑   Left Shift

VK_LSHIFT (0xA0)

0
↑   Right Shift

VK_RSHIFT (0xA1)

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


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

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

Similar programs




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


 

Ṫé$têґ07◦″ĢĿįŧčħM@N OP says : 3 years ago 8/14/2021 6:37 PM
DIMOFS_BUTTON0 (DIMOUSE_BUTTON0) = Left Button,
DIMOFS_BUTTON1 (DIMOUSE_BUTTON1) = Right Button,
DIMOFS_BUTTON2 (DIMOUSE_BUTTON2) = Middle Button,
DIMOFS_BUTTON3 (DIMOUSE_BUTTON3) = X Button 1
DIMOFS_BUTTON4 (DIMOUSE_BUTTON4) = X Button 2
DIMOFS_BUTTON5 (DIMOUSE_BUTTON5) = 6th,
DIMOFS_BUTTON6 (DIMOUSE_BUTTON6) = 7th,
DIMOFS_BUTTON7 (DIMOUSE_BUTTON7) = 8th.
…relative and ABSOLUTE AXIS, etc.… but, lol (oof‼) I can't find a HORIZONTAL SCROLL there‼

The problem with 8-button mouse [SteelSeries Sensei 310] (even SteelSeries Engine doesn't recognize the bytes coming from the mouse when its buttons are assigned to [Button 6], [Button 7] and [Button 8] actions): in UnrealTournament 2oo3/2004 IK_Mouse4 (0xC1) and IK_Mouse5 (0xC2) works fine, but IK_Mouse6 (0xC3), IK_Mouse7 (0xC4) and IK_Mouse8 (0xC5) doesn't recognize (still waiting to press a button when configure keybinding / doesn't perform commands bound with "set input" or modified .ini).
Looking for a custom drivers (mouclass/mouhid | mouse/hidfiltr.sys) and tweak "UpperFilter" parameter in registry – just map to DirectInput certain BITS coming from the mouse…

I don't know if the Mouse buttons 6,7,8 worked on Win2k/XP (before SP2), but… which mouse manufacturers are still support WinXP SP3/Vista SP2/Win7 SP1? Which of them already have the correct mouse drivers for these OS?