-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvkeys.au3
256 lines (256 loc) · 10.8 KB
/
vkeys.au3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
Global Const $VK_LBUTTON = 0x01, $VK_MOUSE1 = 0x01, $VK_MB1 = 0x01
Global Const $VK_RBUTTON = 0x02, $VK_MOUSE2 = 0x02, $VK_MB2 = 0x02
Global Const $VK_CANCEL = 0x03
Global Const $VK_MBUTTON = 0x04, $VK_MOUSE3 = 0x04, $VK_MB3 = 0x04
Global Const $VK_XBUTTON1 = 0x05, $VK_MOUSE4 = 0x05, $VK_MB4 = 0x05
Global Const $VK_XBUTTON2 = 0x06, $VK_MOUSE5 = 0x06, $VK_MB5 = 0x06
; 0x07 undefined
Global Const $VK_BACK = 0x08, $VK_BACKSPACE = 0x08
Global Const $VK_TAB = 0x09
; 0x0A reserved
; 0x0B reserved
Global Const $VK_CLEAR = 0x0C
Global Const $VK_RETURN = 0x0D, $VK_ENTER = 0x0D
; 0x0E undefined
; 0x0F unedfined
Global Const $VK_SHIFT = 0x10
Global Const $VK_CONTROL = 0x11, $VK_CTRL = 0x11
Global Const $VK_MENU = 0x12, $VK_ALT = 0x12
Global Const $VK_PAUSE = 0x13
Global Const $VK_CAPITAL = 0x14, $VK_CAPSLK = 0x14, $VK_CAPSLOCK = 0x14, $VK_CAPS = 0x14
Global Const $VK_HANGEUL = 0x15, $VK_HANGUL = 0x15, $VK_KANA = 0x15
Global Const $VK_IME_ON = 0x16
Global Const $VK_JUNJA = 0x17
Global Const $VK_FINAL = 0x18
Global Const $VK_HANJA = 0x19, $VK_KANJI = 0x19
Global Const $VK_IME_OFF = 0x1A
Global Const $VK_ESCAPE = 0x1B, $VK_ESC = 0x1B
Global Const $VK_CONVERT = 0x1C
Global Const $VK_NONCONVERT = 0x1D
Global Const $VK_ACCEPT = 0x1E
Global Const $VK_MODECHANGE = 0x1F
Global Const $VK_SPACE = 0x20
Global Const $VK_PRIOR = 0x21, $VK_PGUP = 0x21, $VK_PAGEUP = 0x21
Global Const $VK_NEXT = 0x22, $VK_PGDN = 0x22, $VK_PAGEDOWN = 0x22
Global Const $VK_END = 0x23
Global Const $VK_HOME = 0x24
Global Const $VK_LEFT = 0x25
Global Const $VK_UP = 0x26
Global Const $VK_RIGHT = 0x27
Global Const $VK_DOWN = 0x28
Global Const $VK_SELECT = 0x29
Global Const $VK_PRINT = 0x2A
Global Const $VK_EXECUTE = 0x2B
Global Const $VK_SNAPSHOT = 0x2C, $VK_PRTSCN = 0x2C, $VK_PRINTSCREEN = 0x2C
Global Const $VK_INSERT = 0x2D, $VK_INS = 0x2D
Global Const $VK_DELETE = 0x2E, $VK_DEL = 0x2E
Global Const $VK_HELP = 0x2F
Global Const $VK_0 = 0x30
Global Const $VK_1 = 0x31
Global Const $VK_2 = 0x32
Global Const $VK_3 = 0x33
Global Const $VK_4 = 0x34
Global Const $VK_5 = 0x35
Global Const $VK_6 = 0x36
Global Const $VK_7 = 0x37
Global Const $VK_8 = 0x38
Global Const $VK_9 = 0x39
; 0x3A undefined
; 0x3B undefined
; 0x3C undefined
; 0x3D undefined
; 0x3E undefined
; 0x3F undefined
; 0x40 undefined
Global Const $VK_A = 0x41
Global Const $VK_B = 0x42
Global Const $VK_C = 0x43
Global Const $VK_D = 0x44
Global Const $VK_E = 0x45
Global Const $VK_F = 0x46
Global Const $VK_G = 0x47
Global Const $VK_H = 0x48
Global Const $VK_I = 0x49
Global Const $VK_J = 0x4A
Global Const $VK_K = 0x4B
Global Const $VK_L = 0x4C
Global Const $VK_M = 0x4D
Global Const $VK_N = 0x4E
Global Const $VK_O = 0x4F
Global Const $VK_P = 0x50
Global Const $VK_Q = 0x51
Global Const $VK_R = 0x52
Global Const $VK_S = 0x53
Global Const $VK_T = 0x54
Global Const $VK_U = 0x55
Global Const $VK_V = 0x56
Global Const $VK_W = 0x57
Global Const $VK_X = 0x58
Global Const $VK_Y = 0x59
Global Const $VK_Z = 0x5A
Global Const $VK_LWIN = 0x5B
Global Const $VK_RWIN = 0x5C
Global Const $VK_APPS = 0x5D, $VK_CONTEXT = 0x5D, $VK_CONTEXTMENU = 0x5D
; 0x5E reserved
Global Const $VK_SLEEP = 0x5F
Global Const $VK_NUMPAD0 = 0x60, $VK_NUM0 = 0x60
Global Const $VK_NUMPAD1 = 0x61, $VK_NUM1 = 0x61
Global Const $VK_NUMPAD2 = 0x62, $VK_NUM2 = 0x62
Global Const $VK_NUMPAD3 = 0x63, $VK_NUM3 = 0x63
Global Const $VK_NUMPAD4 = 0x64, $VK_NUM4 = 0x64
Global Const $VK_NUMPAD5 = 0x65, $VK_NUM5 = 0x65
Global Const $VK_NUMPAD6 = 0x66, $VK_NUM6 = 0x66
Global Const $VK_NUMPAD7 = 0x67, $VK_NUM7 = 0x67
Global Const $VK_NUMPAD8 = 0x68, $VK_NUM8 = 0x68
Global Const $VK_NUMPAD9 = 0x69, $VK_NUM9 = 0x69
Global Const $VK_MULTIPLY = 0x6A
Global Const $VK_ADD = 0x6B
Global Const $VK_SEPARATOR = 0x6C
Global Const $VK_SUBTRACT = 0x6D
Global Const $VK_DECIMAL = 0x6E
Global Const $VK_DIVIDE = 0x6F
Global Const $VK_F1 = 0x70
Global Const $VK_F2 = 0x71
Global Const $VK_F3 = 0x72
Global Const $VK_F4 = 0x73
Global Const $VK_F5 = 0x74
Global Const $VK_F6 = 0x75
Global Const $VK_F7 = 0x76
Global Const $VK_F8 = 0x77
Global Const $VK_F9 = 0x78
Global Const $VK_F10 = 0x79
Global Const $VK_F11 = 0x7A
Global Const $VK_F12 = 0x7B
Global Const $VK_F13 = 0x7C
Global Const $VK_F14 = 0x7D
Global Const $VK_F15 = 0x7E
Global Const $VK_F16 = 0x7F
Global Const $VK_F17 = 0x80
Global Const $VK_F18 = 0x81
Global Const $VK_F19 = 0x82
Global Const $VK_F20 = 0x83
Global Const $VK_F21 = 0x84
Global Const $VK_F22 = 0x85
Global Const $VK_F23 = 0x86
Global Const $VK_F24 = 0x87
Global Const $VK_NAVIGATION_VIEW = 136 ; 0x88 unassigned
Global Const $VK_NAVIGATION_MENU = 137 ; 0x89 unassigned
Global Const $VK_NAVIGATION_UP = 138 ; 0x8A unassigned
Global Const $VK_NAVIGATION_DOWN = 139 ; 0x8B unassigned
Global Const $VK_NAVIGATION_LEFT = 140 ; 0x8C unassigned
Global Const $VK_NAVIGATION_RIGHT = 141 ; 0x8D unassigned
Global Const $VK_NAVIGATION_ACCEPT = 142 ; 0x8E unassigned
Global Const $VK_NAVIGATION_CANCEL = 143 ; 0x8F unassigned
Global Const $VK_NUMLOCK = 0x90, $VK_NUMLK = 0x90
Global Const $VK_SCROLL = 0x91, $VK_SCRLK = 0x91
Global Const $VK_OEM_FJ_JISHO = 146, $VK_OEM_NEC_EQUAL = 146 ; 0x92 OEM specific
Global Const $VK_OEM_FJ_MASSHOU = 147 ; 0x93 OEM specific
Global Const $VK_OEM_FJ_TOUROKU = 148 ; 0x94 OEM specific
Global Const $VK_OEM_FJ_LOYA = 149 ; 0x95 OEM specific
Global Const $VK_OEM_FJ_ROYA = 150 ; 0x96 OEM specific
; 0x97 unassigned
; 0x98 unassigned
; 0x99 unassigned
; 0x9A unassigned
; 0x9B unassigned
; 0x9C unassigned
; 0x9D unassigned
; 0x9E unassigned
; 0x9F unassigned
Global Const $VK_LSHIFT = 0xA0
Global Const $VK_RSHIFT = 0xA1
Global Const $VK_LCONTROL = 0xA2, $VK_LCTRL = 0xA2
Global Const $VK_RCONTROL = 0xA3, $VK_RCTRL = 0xA3
Global Const $VK_LMENU = 0xA4, $VK_LALT = 0xA4
Global Const $VK_RMENU = 0xA5, $VK_RALT = 0xA5
Global Const $VK_BROWSER_BACK = 0xA6
Global Const $VK_BROWSER_FORWARD = 0xA7
Global Const $VK_BROWSER_REFRESH = 0xA8
Global Const $VK_BROWSER_STOP = 0xA9
Global Const $VK_BROWSER_SEARCH = 0xAA
Global Const $VK_BROWSER_FAVORITES = 0xAB
Global Const $VK_BROWSER_HOME = 0xAC
Global Const $VK_VOLUME_MUTE = 0xAD
Global Const $VK_VOLUME_DOWN = 0xAE
Global Const $VK_VOLUME_UP = 0xAF
Global Const $VK_MEDIA_NEXT_TRACK = 0xB0
Global Const $VK_MEDIA_PREV_TRACK = 0xB1
Global Const $VK_MEDIA_STOP = 0xB2
Global Const $VK_MEDIA_PLAY_PAUSE = 0xB3
Global Const $VK_LAUNCH_MAIL = 0xB4
Global Const $VK_LAUNCH_MEDIA_SELECT = 0xB5
Global Const $VK_LAUNCH_APP1 = 0xB6
Global Const $VK_LAUNCH_APP2 = 0xB7
; 0xB8 reserved
; 0xB9 reserved
Global Const $VK_OEM_1 = 0xBA ; semicolon/colon for US standard, can vary by keyboard
Global Const $VK_OEM_PLUS = 0xBB ; equal/plus, all layouts
Global Const $VK_OEM_COMMA = 0xBC ; comma/lessthan, all layouts
Global Const $VK_OEM_MINUS = 0xBD ; minus/underscore, all layouts
Global Const $VK_OEM_PERIOD = 0xBE ; period/greaterthan, all layouts
Global Const $VK_OEM_2 = 0xBF ; slash/questionmark for US standard, can vary by keyboard
Global Const $VK_OEM_3 = 0xC0 ; backtick/tilde for US standard, can vary by keyboard
; 0xC1 reserved
; 0xC2 reserved
Global Const $VK_GAMEPAD_A = 195 ; 0xC3 reserved
Global Const $VK_GAMEPAD_B = 196 ; 0xC4 reserved
Global Const $VK_GAMEPAD_X = 197 ; 0xC5 reserved
Global Const $VK_GAMEPAD_Y = 198 ; 0xC6 reserved
Global Const $VK_GAMEPAD_RIGHT_SHOULDER = 199 ; 0xC7 reserved
Global Const $VK_GAMEPAD_LEFT_SHOULDER = 200 ; 0xC8 reserved
Global Const $VK_GAMEPAD_LEFT_TRIGGER = 201 ; 0xC9 reserved
Global Const $VK_GAMEPAD_RIGHT_TRIGGER = 202 ; 0xCA reserved
Global Const $VK_GAMEPAD_DPAD_UP = 203 ; 0xCB reserved
Global Const $VK_GAMEPAD_DPAD_DOWN = 204 ; 0xCC reserved
Global Const $VK_GAMEPAD_DPAD_LEFT = 205 ; 0xCD reserved
Global Const $VK_GAMEPAD_DPAD_RIGHT = 206 ; 0xCE reserved
Global Const $VK_GAMEPAD_MENU = 207 ; 0xCF reserved
Global Const $VK_GAMEPAD_VIEW = 208 ; 0xD0 reserved
Global Const $VK_GAMEPAD_LEFT_THUMBSTICK_BUTTON = 209 ; 0xD1 reserved
Global Const $VK_GAMEPAD_RIGHT_THUMBSTICK_BUTTON = 210 ; 0xD2 reserved
Global Const $VK_GAMEPAD_LEFT_THUMBSTICK_UP = 211 ; 0xD3 reserved
Global Const $VK_GAMEPAD_LEFT_THUMBSTICK_DOWN = 212 ; 0xD4 reserved
Global Const $VK_GAMEPAD_LEFT_THUMBSTICK_RIGHT = 213 ; 0xD5 reserved
Global Const $VK_GAMEPAD_LEFT_THUMBSTICK_LEFT = 214 ; 0xD6 reserved
Global Const $VK_GAMEPAD_RIGHT_THUMBSTICK_UP = 215 ; 0xD7 reserved
Global Const $VK_GAMEPAD_RIGHT_THUMBSTICK_DOWN = 216 ; 0xD8 reserved
Global Const $VK_GAMEPAD_RIGHT_THUMBSTICK_RIGHT = 217 ; 0xD9 reserved
Global Const $VK_GAMEPAD_RIGHT_THUMBSTICK_LEFT = 218 ; 0xDA reserved
Global Const $VK_OEM_4 = 0xDB ; left square/curly bracket for US standard, can vary by keyboard
Global Const $VK_OEM_5 = 0xDC ; backslash/pipe for US standard, can vary by keyboard
Global Const $VK_OEM_6 = 0xDD ; right square/curly bracket for US standard, can vary by keyboard
Global Const $VK_OEM_7 = 0xDE ; single/double quote for US standard, can vary by keyboard
Global Const $VK_OEM_8 = 0xDF
; 0xE0 reserved
Global Const $VK_OEM_AX = 225 ; 0xE1 OEM specific
Global Const $VK_OEM_102 = 0xE2
Global Const $VK_ICO_HELP = 227 ; 0xE3 OEM specific
Global Const $VK_ICO_00 = 228 ; 0xE4 OEM specific
Global Const $VK_PROCESSKEY = 0xE5
Global Const $VK_ICO_CLEAR = 230 ; 0xE6 OEM specific
Global Const $VK_PACKET = 0xE7
; 0xE8 unassigned
Global Const $VK_OEM_RESET = 233 ; 0xE9 OEM specific
Global Const $VK_OEM_JUMP = 234 ; 0xEA OEM specific
Global Const $VK_OEM_PA1 = 235 ; 0xEB OEM specific
Global Const $VK_OEM_PA2 = 236 ; 0xEC OEM specific
Global Const $VK_OEM_PA3 = 237 ; 0xED OEM specific
Global Const $VK_OEM_WSCTRL = 238 ; 0xEE OEM specific
Global Const $VK_OEM_CUSEL = 239 ; 0xEF OEM specific
Global Const $VK_OEM_ATTN = 240 ; 0xF0 OEM specific
Global Const $VK_OEM_FINISH = 241 ; 0xF1 OEM specific
Global Const $VK_OEM_COPY = 242 ; 0xF2 OEM specific
Global Const $VK_OEM_AUTO = 243 ; 0xF3 OEM specific
Global Const $VK_OEM_ENLW = 244 ; 0xF4 OEM specific
Global Const $VK_OEM_BACKTAB = 245 ; 0xF5 OEM specific
Global Const $VK_ATTN = 0xF6
Global Const $VK_CRSEL = 0xF7
Global Const $VK_EXSEL = 0xF8
Global Const $VK_EREOF = 0xF9
Global Const $VK_PLAY = 0xFA
Global Const $VK_ZOOM = 0xFB
Global Const $VK_NONAME = 0xFC
Global Const $VK_PA1 = 0xFD
Global Const $VK_OEM_CLEAR = 0xFE
Global Const $VK_NONE = 0xFF ; no mapping
#include-once