OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 #define VK_MEDIA_PREV_TRACK 0xB1 // Windows 2000/XP: Previous Track key | 254 #define VK_MEDIA_PREV_TRACK 0xB1 // Windows 2000/XP: Previous Track key |
255 #define VK_MEDIA_STOP 0xB2 // Windows 2000/XP: Stop Media key | 255 #define VK_MEDIA_STOP 0xB2 // Windows 2000/XP: Stop Media key |
256 #define VK_MEDIA_PLAY_PAUSE 0xB3 // Windows 2000/XP: Play/Pause Media key | 256 #define VK_MEDIA_PLAY_PAUSE 0xB3 // Windows 2000/XP: Play/Pause Media key |
257 #define VK_MEDIA_LAUNCH_MAIL 0xB4 // Windows 2000/XP: Start Mail key | 257 #define VK_MEDIA_LAUNCH_MAIL 0xB4 // Windows 2000/XP: Start Mail key |
258 #define VK_MEDIA_LAUNCH_MEDIA_SELECT 0xB5 // Windows 2000/XP: Select Media key | 258 #define VK_MEDIA_LAUNCH_MEDIA_SELECT 0xB5 // Windows 2000/XP: Select Media key |
259 #define VK_MEDIA_LAUNCH_APP1 \ | 259 #define VK_MEDIA_LAUNCH_APP1 \ |
260 0xB6 // VK_LAUNCH_APP1 (B6) Windows 2000/XP: Start Application 1 key | 260 0xB6 // VK_LAUNCH_APP1 (B6) Windows 2000/XP: Start Application 1 key |
261 #define VK_MEDIA_LAUNCH_APP2 \ | 261 #define VK_MEDIA_LAUNCH_APP2 \ |
262 0xB7 // VK_LAUNCH_APP2 (B7) Windows 2000/XP: Start Application 2 key | 262 0xB7 // VK_LAUNCH_APP2 (B7) Windows 2000/XP: Start Application 2 key |
263 | 263 |
264 // VK_OEM_1 (BA) Used for miscellaneous characters; it can vary by keyboard. Win
dows 2000/XP: For the US standard keyboard, the ';:' key | 264 // VK_OEM_1 (BA) Used for miscellaneous characters; it can vary by keyboard. |
| 265 // Windows 2000/XP: For the US standard keyboard, the ';:' key |
265 #define VK_OEM_1 0xBA | 266 #define VK_OEM_1 0xBA |
266 | 267 |
267 // Windows 2000/XP: For any country/region, the '+' key | 268 // Windows 2000/XP: For any country/region, the '+' key |
268 #define VK_OEM_PLUS 0xBB | 269 #define VK_OEM_PLUS 0xBB |
269 | 270 |
270 // Windows 2000/XP: For any country/region, the ',' key | 271 // Windows 2000/XP: For any country/region, the ',' key |
271 #define VK_OEM_COMMA 0xBC | 272 #define VK_OEM_COMMA 0xBC |
272 | 273 |
273 // Windows 2000/XP: For any country/region, the '-' key | 274 // Windows 2000/XP: For any country/region, the '-' key |
274 #define VK_OEM_MINUS 0xBD | 275 #define VK_OEM_MINUS 0xBD |
275 | 276 |
276 // Windows 2000/XP: For any country/region, the '.' key | 277 // Windows 2000/XP: For any country/region, the '.' key |
277 #define VK_OEM_PERIOD 0xBE | 278 #define VK_OEM_PERIOD 0xBE |
278 | 279 |
279 // VK_OEM_2 (BF) Used for miscellaneous characters; it can vary by keyboard. Win
dows 2000/XP: For the US standard keyboard, the '/?' key | 280 // VK_OEM_2 (BF) Used for miscellaneous characters; it can vary by keyboard. |
| 281 // Windows 2000/XP: For the US standard keyboard, the '/?' key |
280 #define VK_OEM_2 0xBF | 282 #define VK_OEM_2 0xBF |
281 | 283 |
282 // VK_OEM_3 (C0) Used for miscellaneous characters; it can vary by keyboard. Win
dows 2000/XP: For the US standard keyboard, the '`~' key | 284 // VK_OEM_3 (C0) Used for miscellaneous characters; it can vary by keyboard. |
| 285 // Windows 2000/XP: For the US standard keyboard, the '`~' key |
283 #define VK_OEM_3 0xC0 | 286 #define VK_OEM_3 0xC0 |
284 | 287 |
285 // VK_OEM_4 (DB) Used for miscellaneous characters; it can vary by keyboard. Win
dows 2000/XP: For the US standard keyboard, the '[{' key | 288 // VK_OEM_4 (DB) Used for miscellaneous characters; it can vary by keyboard. |
| 289 // Windows 2000/XP: For the US standard keyboard, the '[{' key |
286 #define VK_OEM_4 0xDB | 290 #define VK_OEM_4 0xDB |
287 | 291 |
288 // VK_OEM_5 (DC) Used for miscellaneous characters; it can vary by keyboard. Win
dows 2000/XP: For the US standard keyboard, the '\|' key | 292 // VK_OEM_5 (DC) Used for miscellaneous characters; it can vary by keyboard. |
| 293 // Windows 2000/XP: For the US standard keyboard, the '\|' key |
289 #define VK_OEM_5 0xDC | 294 #define VK_OEM_5 0xDC |
290 | 295 |
291 // VK_OEM_6 (DD) Used for miscellaneous characters; it can vary by keyboard. Win
dows 2000/XP: For the US standard keyboard, the ']}' key | 296 // VK_OEM_6 (DD) Used for miscellaneous characters; it can vary by keyboard. |
| 297 // Windows 2000/XP: For the US standard keyboard, the ']}' key |
292 #define VK_OEM_6 0xDD | 298 #define VK_OEM_6 0xDD |
293 | 299 |
294 // VK_OEM_7 (DE) Used for miscellaneous characters; it can vary by keyboard. Win
dows 2000/XP: For the US standard keyboard, the 'single-quote/double-quote' key | 300 // VK_OEM_7 (DE) Used for miscellaneous characters; it can vary by keyboard. |
| 301 // Windows 2000/XP: For the US standard keyboard, the |
| 302 // 'single-quote/double-quote' key |
295 #define VK_OEM_7 0xDE | 303 #define VK_OEM_7 0xDE |
296 | 304 |
297 // VK_OEM_8 (DF) Used for miscellaneous characters; it can vary by keyboard. | 305 // VK_OEM_8 (DF) Used for miscellaneous characters; it can vary by keyboard. |
298 #define VK_OEM_8 0xDF | 306 #define VK_OEM_8 0xDF |
299 | 307 |
300 // VK_OEM_102 (E2) Windows 2000/XP: Either the angle bracket key or the backslas
h key on the RT 102-key keyboard | 308 // VK_OEM_102 (E2) Windows 2000/XP: Either the angle bracket key or the |
| 309 // backslash key on the RT 102-key keyboard |
301 #define VK_OEM_102 0xE2 | 310 #define VK_OEM_102 0xE2 |
302 | 311 |
303 // Windows 95/98/Me, Windows NT 4.0, Windows 2000/XP: IME PROCESS key | 312 // Windows 95/98/Me, Windows NT 4.0, Windows 2000/XP: IME PROCESS key |
304 #define VK_PROCESSKEY 0xE5 | 313 #define VK_PROCESSKEY 0xE5 |
305 | 314 |
306 // Windows 2000/XP: 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-key
board input methods. For more information, see Remark in KEYBDINPUT,SendInput, W
M_KEYDOWN, and WM_KEYUP | 315 // Windows 2000/XP: Used to pass Unicode characters as if they were keystrokes. |
| 316 // The VK_PACKET key is the low word of a 32-bit Virtual Key value used for |
| 317 // non-keyboard input methods. For more information, see Remark in |
| 318 // KEYBDINPUT,SendInput, WM_KEYDOWN, and WM_KEYUP |
307 #define VK_PACKET 0xE7 | 319 #define VK_PACKET 0xE7 |
308 | 320 |
309 #define VK_ATTN 0xF6 // Attn key | 321 #define VK_ATTN 0xF6 // Attn key |
310 #define VK_CRSEL 0xF7 // CrSel key | 322 #define VK_CRSEL 0xF7 // CrSel key |
311 #define VK_EXSEL 0xF8 // ExSel key | 323 #define VK_EXSEL 0xF8 // ExSel key |
312 #define VK_EREOF 0xF9 // Erase EOF key | 324 #define VK_EREOF 0xF9 // Erase EOF key |
313 #define VK_PLAY 0xFA // Play key | 325 #define VK_PLAY 0xFA // Play key |
314 #define VK_ZOOM 0xFB // Zoom key | 326 #define VK_ZOOM 0xFB // Zoom key |
315 | 327 |
316 #define VK_NONAME 0xFC // Reserved for future use | 328 #define VK_NONAME 0xFC // Reserved for future use |
317 | 329 |
318 #define VK_PA1 0xFD // VK_PA1 (FD) PA1 key | 330 #define VK_PA1 0xFD // VK_PA1 (FD) PA1 key |
319 | 331 |
320 #define VK_OEM_CLEAR 0xFE // Clear key | 332 #define VK_OEM_CLEAR 0xFE // Clear key |
321 | 333 |
322 #endif // VK_UNKNOWN | 334 #endif // VK_UNKNOWN |
OLD | NEW |