Scroll to navigation

VIRKEYCODE-WIN32(7) Virtualization Support VIRKEYCODE-WIN32(7)

Key code values for win32

List of win32 key code values, with corresponding win32 key code names

1 (0x1)
Key name VK_LBUTTON
2 (0x2)
Key name VK_RBUTTON
4 (0x4)
Key name VK_MBUTTON
5 (0x5)
Key name VK_XBUTTON1
6 (0x6)
Key name VK_XBUTTON2
8 (0x8)
Key name VK_BACK
9 (0x9)
Key name VK_TAB
13 (0xd)
Key name VK_RETURN
16 (0x10)
Key name VK_LSHIFT
17 (0x11)
Key name VK_CONTROL
18 (0x12)
Key name VK_MENU
19 (0x13)
Key name VK_PAUSE
20 (0x14)
Key name VK_CAPITAL
21 (0x15)
Key name VK_HANGEUL
25 (0x19)
Key name VK_HANJA
27 (0x1b)
Key name VK_ESCAPE
32 (0x20)
Key name VK_SPACE
33 (0x21)
Key name VK_PRIOR
34 (0x22)
Key name VK_NEXT
35 (0x23)
Key name VK_END
36 (0x24)
Key name VK_HOME
37 (0x25)
Key name VK_LEFT
38 (0x26)
Key name VK_UP
39 (0x27)
Key name VK_RIGHT
40 (0x28)
Key name VK_DOWN
41 (0x29)
Key name VK_SELECT
42 (0x2a)
Key name VK_PRINT
44 (0x2c)
Key name VK_SNAPSHOT
45 (0x2d)
Key name VK_INSERT
46 (0x2e)
Key name VK_DELETE
47 (0x2f)
Key name VK_HELP
48 (0x30)
Key name VK_0
49 (0x31)
Key name VK_1
50 (0x32)
Key name VK_2
51 (0x33)
Key name VK_3
52 (0x34)
Key name VK_4
53 (0x35)
Key name VK_5
54 (0x36)
Key name VK_6
55 (0x37)
Key name VK_7
56 (0x38)
Key name VK_8
57 (0x39)
Key name VK_9
65 (0x41)
Key name VK_A
66 (0x42)
Key name VK_B
67 (0x43)
Key name VK_C
68 (0x44)
Key name VK_D
69 (0x45)
Key name VK_E
70 (0x46)
Key name VK_F
71 (0x47)
Key name VK_G
72 (0x48)
Key name VK_H
73 (0x49)
Key name VK_I
74 (0x4a)
Key name VK_J
75 (0x4b)
Key name VK_K
76 (0x4c)
Key name VK_L
77 (0x4d)
Key name VK_M
78 (0x4e)
Key name VK_N
79 (0x4f)
Key name VK_O
80 (0x50)
Key name VK_P
81 (0x51)
Key name VK_Q
82 (0x52)
Key name VK_R
83 (0x53)
Key name VK_S
84 (0x54)
Key name VK_T
85 (0x55)
Key name VK_U
86 (0x56)
Key name VK_V
87 (0x57)
Key name VK_W
88 (0x58)
Key name VK_X
89 (0x59)
Key name VK_Y
90 (0x5a)
Key name VK_Z
91 (0x5b)
Key name VK_LWIN
92 (0x5c)
Key name VK_RWIN
93 (0x5d)
Key name VK_APPS
95 (0x5f)
Key name VK_SLEEP
96 (0x60)
Key name VK_NUMPAD0
97 (0x61)
Key name VK_NUMPAD1
98 (0x62)
Key name VK_NUMPAD2
99 (0x63)
Key name VK_NUMPAD3
100 (0x64)
Key name VK_NUMPAD4
101 (0x65)
Key name VK_NUMPAD5
102 (0x66)
Key name VK_NUMPAD6
103 (0x67)
Key name VK_NUMPAD7
104 (0x68)
Key name VK_NUMPAD8
105 (0x69)
Key name VK_NUMPAD9
106 (0x6a)
Key name VK_MULTIPLY
107 (0x6b)
Key name VK_ADD
108 (0x6c)
Key name VK_SEPARATOR??
109 (0x6d)
Key name VK_SUBTRACT
110 (0x6e)
Key name VK_DECIMAL
111 (0x6f)
Key name VK_DIVIDE
112 (0x70)
Key name VK_F1
113 (0x71)
Key name VK_F2
114 (0x72)
Key name VK_F3
115 (0x73)
Key name VK_F4
116 (0x74)
Key name VK_F5
117 (0x75)
Key name VK_F6
118 (0x76)
Key name VK_F7
119 (0x77)
Key name VK_F8
120 (0x78)
Key name VK_F9
121 (0x79)
Key name VK_F10
122 (0x7a)
Key name VK_F11
123 (0x7b)
Key name VK_F12
124 (0x7c)
Key name VK_F13
125 (0x7d)
Key name VK_F14
126 (0x7e)
Key name VK_F15
127 (0x7f)
Key name VK_F16
128 (0x80)
Key name VK_F17
129 (0x81)
Key name VK_F18
130 (0x82)
Key name VK_F19
131 (0x83)
Key name VK_F20
132 (0x84)
Key name VK_F21
133 (0x85)
Key name VK_F22
134 (0x86)
Key name VK_F23
135 (0x87)
Key name VK_F24
144 (0x90)
Key name VK_NUMLOCK
145 (0x91)
Key name VK_SCROLL
160 (0xa0)
Key name VK_LSHIFT
161 (0xa1)
Key name VK_RSHIFT
162 (0xa2)
Key name VK_CONTROL
163 (0xa3)
Key name VK_RCONTROL
164 (0xa4)
Key name VK_MENU
165 (0xa5)
Key name VK_RMENU
166 (0xa6)
Key name VK_BROWSER_BACK
167 (0xa7)
Key name VK_BROWSER_FORWARD
168 (0xa8)
Key name VK_BROWSER_REFRESH
169 (0xa9)
Key name VK_BROWSER_STOP
170 (0xaa)
Key name VK_BROWSER_SEARCH
171 (0xab)
Key name VK_BROWSER_FAVOURITES
172 (0xac)
Key name VK_BROWSER_HOME
173 (0xad)
Key name VK_VOLUME_MUTE
174 (0xae)
Key name VK_VOLUME_DOWN
175 (0xaf)
Key name VK_VOLUME_UP
176 (0xb0)
Key name VK_MEDIA_NEXT_TRACK
177 (0xb1)
Key name VK_MEDIA_PREV_TRACK
178 (0xb2)
Key name VK_MEDIA_STOP
179 (0xb3)
Key name VK_MEDIA_PLAY_PAUSE
180 (0xb4)
Key name VK_LAUNCH_MAIL
186 (0xba)
Key name VK_OEM_1
187 (0xbb)
Key name VK_OEM_PLUS
188 (0xbc)
Key name VK_OEM_COMMA
189 (0xbd)
Key name VK_OEM_MINUS
190 (0xbe)
Key name VK_OEM_PERIOD
191 (0xbf)
Key name VK_OEM_2
192 (0xc0)
Key name VK_OEM_3
219 (0xdb)
Key name VK_OEM_4
220 (0xdc)
Key name VK_OEM_5
221 (0xdd)
Key name VK_OEM_6
222 (0xde)
Key name VK_OEM_7
225 (0xe1)
Key name VK_OEM_102
250 (0xfa)
Key name VK_PLAY
251 (0xfb)
Key name VK_ZOOM
2021-04-27 libvirt-4.5.0