OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2008, 2009, Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 // VKEY_PAUSE (13) PAUSE key | 71 // VKEY_PAUSE (13) PAUSE key |
72 VKEY_PAUSE = VK_PAUSE, | 72 VKEY_PAUSE = VK_PAUSE, |
73 | 73 |
74 // VKEY_CAPITAL (14) CAPS LOCK key | 74 // VKEY_CAPITAL (14) CAPS LOCK key |
75 VKEY_CAPITAL = VK_CAPITAL, | 75 VKEY_CAPITAL = VK_CAPITAL, |
76 | 76 |
77 // VKEY_KANA (15) Input Method Editor (IME) Kana mode | 77 // VKEY_KANA (15) Input Method Editor (IME) Kana mode |
78 VKEY_KANA = VK_KANA, | 78 VKEY_KANA = VK_KANA, |
79 | 79 |
80 // VKEY_HANGUEL (15) IME Hanguel mode (maintained for compatibility, use VKEY_
HANGUL) | 80 // VKEY_HANGUEL (15) IME Hanguel mode (maintained for compatibility, |
| 81 // use VKEY_HANGUL) |
81 // VKEY_HANGUL (15) IME Hangul mode | 82 // VKEY_HANGUL (15) IME Hangul mode |
82 VKEY_HANGUL = VK_HANGUL, | 83 VKEY_HANGUL = VK_HANGUL, |
83 | 84 |
84 // VKEY_JUNJA (17) IME Junja mode | 85 // VKEY_JUNJA (17) IME Junja mode |
85 VKEY_JUNJA = VK_JUNJA, | 86 VKEY_JUNJA = VK_JUNJA, |
86 | 87 |
87 // VKEY_FINAL (18) IME final mode | 88 // VKEY_FINAL (18) IME final mode |
88 VKEY_FINAL = VK_FINAL, | 89 VKEY_FINAL = VK_FINAL, |
89 | 90 |
90 // VKEY_HANJA (19) IME Hanja mode | 91 // VKEY_HANJA (19) IME Hanja mode |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 | 469 |
469 // VKEY_LAUNCH_MEDIA_SELECT (B5) Windows 2000/XP: Select Media key | 470 // VKEY_LAUNCH_MEDIA_SELECT (B5) Windows 2000/XP: Select Media key |
470 VKEY_MEDIA_LAUNCH_MEDIA_SELECT = 0xB5, | 471 VKEY_MEDIA_LAUNCH_MEDIA_SELECT = 0xB5, |
471 | 472 |
472 // VKEY_LAUNCH_APP1 (B6) Windows 2000/XP: Start Application 1 key | 473 // VKEY_LAUNCH_APP1 (B6) Windows 2000/XP: Start Application 1 key |
473 VKEY_MEDIA_LAUNCH_APP1 = 0xB6, | 474 VKEY_MEDIA_LAUNCH_APP1 = 0xB6, |
474 | 475 |
475 // VKEY_LAUNCH_APP2 (B7) Windows 2000/XP: Start Application 2 key | 476 // VKEY_LAUNCH_APP2 (B7) Windows 2000/XP: Start Application 2 key |
476 VKEY_MEDIA_LAUNCH_APP2 = 0xB7, | 477 VKEY_MEDIA_LAUNCH_APP2 = 0xB7, |
477 | 478 |
478 // VKEY_OEM_1 (BA) Used for miscellaneous characters, it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the ',:' key | 479 // VKEY_OEM_1 (BA) Used for miscellaneous characters, it can vary by keyboard. |
| 480 // Windows 2000/XP: For the US standard keyboard, the ',:' key |
479 VKEY_OEM_1 = VK_OEM_1, | 481 VKEY_OEM_1 = VK_OEM_1, |
480 | 482 |
481 // VKEY_OEM_PLUS (BB) Windows 2000/XP: For any country/region, the '+' key | 483 // VKEY_OEM_PLUS (BB) Windows 2000/XP: For any country/region, the '+' key |
482 VKEY_OEM_PLUS = VK_OEM_PLUS, | 484 VKEY_OEM_PLUS = VK_OEM_PLUS, |
483 | 485 |
484 // VKEY_OEM_COMMA (BC) Windows 2000/XP: For any country/region, the ',' key | 486 // VKEY_OEM_COMMA (BC) Windows 2000/XP: For any country/region, the ',' key |
485 VKEY_OEM_COMMA = VK_OEM_COMMA, | 487 VKEY_OEM_COMMA = VK_OEM_COMMA, |
486 | 488 |
487 // VKEY_OEM_MINUS (BD) Windows 2000/XP: For any country/region, the '-' key | 489 // VKEY_OEM_MINUS (BD) Windows 2000/XP: For any country/region, the '-' key |
488 VKEY_OEM_MINUS = VK_OEM_MINUS, | 490 VKEY_OEM_MINUS = VK_OEM_MINUS, |
489 | 491 |
490 // VKEY_OEM_PERIOD (BE) Windows 2000/XP: For any country/region, the '.' key | 492 // VKEY_OEM_PERIOD (BE) Windows 2000/XP: For any country/region, the '.' key |
491 VKEY_OEM_PERIOD = VK_OEM_PERIOD, | 493 VKEY_OEM_PERIOD = VK_OEM_PERIOD, |
492 | 494 |
493 // VKEY_OEM_2 (BF) Used for miscellaneous characters, it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the '/?' key | 495 // VKEY_OEM_2 (BF) Used for miscellaneous characters, it can vary by keyboard. |
| 496 // Windows 2000/XP: For the US standard keyboard, the '/?' key |
494 VKEY_OEM_2 = VK_OEM_2, | 497 VKEY_OEM_2 = VK_OEM_2, |
495 | 498 |
496 // VKEY_OEM_3 (C0) Used for miscellaneous characters, it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the '`~' key | 499 // VKEY_OEM_3 (C0) Used for miscellaneous characters, it can vary by keyboard. |
| 500 // Windows 2000/XP: For the US standard keyboard, the '`~' key |
497 VKEY_OEM_3 = VK_OEM_3, | 501 VKEY_OEM_3 = VK_OEM_3, |
498 | 502 |
499 // VKEY_OEM_4 (DB) Used for miscellaneous characters, it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the '[{' key | 503 // VKEY_OEM_4 (DB) Used for miscellaneous characters, it can vary by keyboard. |
| 504 // Windows 2000/XP: For the US standard keyboard, the '[{' key |
500 VKEY_OEM_4 = VK_OEM_4, | 505 VKEY_OEM_4 = VK_OEM_4, |
501 | 506 |
502 // VKEY_OEM_5 (DC) Used for miscellaneous characters, it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the '\|' key | 507 // VKEY_OEM_5 (DC) Used for miscellaneous characters, it can vary by keyboard. |
| 508 // Windows 2000/XP: For the US standard keyboard, the '\|' key |
503 VKEY_OEM_5 = VK_OEM_5, | 509 VKEY_OEM_5 = VK_OEM_5, |
504 | 510 |
505 // VKEY_OEM_6 (DD) Used for miscellaneous characters, it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the ']}' key | 511 // VKEY_OEM_6 (DD) Used for miscellaneous characters, it can vary by keyboard. |
| 512 // Windows 2000/XP: For the US standard keyboard, the ']}' key |
506 VKEY_OEM_6 = VK_OEM_6, | 513 VKEY_OEM_6 = VK_OEM_6, |
507 | 514 |
508 // VKEY_OEM_7 (DE) Used for miscellaneous characters, it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the 'single-quote/double-quote'
key | 515 // VKEY_OEM_7 (DE) Used for miscellaneous characters, it can vary by keyboard. |
| 516 // Windows 2000/XP: For the US standard keyboard, the |
| 517 // 'single-quote/double-quote' key |
509 VKEY_OEM_7 = VK_OEM_7, | 518 VKEY_OEM_7 = VK_OEM_7, |
510 | 519 |
511 // VKEY_OEM_8 (DF) Used for miscellaneous characters, it can vary by keyboard. | 520 // VKEY_OEM_8 (DF) Used for miscellaneous characters, it can vary by keyboard. |
512 VKEY_OEM_8 = VK_OEM_8, | 521 VKEY_OEM_8 = VK_OEM_8, |
513 | 522 |
514 // VKEY_OEM_102 (E2) Windows 2000/XP: Either the angle bracket key or the back
slash key on the RT 102-key keyboard | 523 // VKEY_OEM_102 (E2) Windows 2000/XP: Either the angle bracket key or the |
| 524 // backslash key on the RT 102-key keyboard |
515 VKEY_OEM_102 = VK_OEM_102, | 525 VKEY_OEM_102 = VK_OEM_102, |
516 | 526 |
517 // VKEY_OEM_103 (E3) GTV KEYCODE_MEDIA_REWIND | 527 // VKEY_OEM_103 (E3) GTV KEYCODE_MEDIA_REWIND |
518 VKEY_OEM_103 = 0xE3, | 528 VKEY_OEM_103 = 0xE3, |
519 | 529 |
520 // VKEY_OEM_104 (E4) GTV KEYCODE_MEDIA_FAST_FORWARD | 530 // VKEY_OEM_104 (E4) GTV KEYCODE_MEDIA_FAST_FORWARD |
521 VKEY_OEM_104 = 0xE4, | 531 VKEY_OEM_104 = 0xE4, |
522 | 532 |
523 // VKEY_PROCESSKEY (E5) Windows 95/98/Me, Windows NT 4.0, Windows 2000/XP: IME
PROCESS key | 533 // VKEY_PROCESSKEY (E5) Windows 95/98/Me, Windows NT 4.0, Windows 2000/XP: IME |
| 534 // PROCESS key |
524 VKEY_PROCESSKEY = VK_PROCESSKEY, | 535 VKEY_PROCESSKEY = VK_PROCESSKEY, |
525 | 536 |
526 // VKEY_PACKET (E7) Windows 2000/XP: Used to pass Unicode characters as if the
y were keystrokes. The VKEY_PACKET key is the low word of a 32-bit Virtual Key v
alue used for non-keyboard input methods. For more information, see Remark in KE
YBDINPUT,SendInput, WM_KEYDOWN, and WM_KEYUP | 537 // VKEY_PACKET (E7) Windows 2000/XP: Used to pass Unicode characters as if |
| 538 // they were keystrokes. The VKEY_PACKET key is the low word of a 32-bit |
| 539 // Virtual Key value used for non-keyboard input methods. For more |
| 540 // information, see Remark in KEYBDINPUT,SendInput, WM_KEYDOWN, and WM_KEYUP |
527 VKEY_PACKET = VK_PACKET, | 541 VKEY_PACKET = VK_PACKET, |
528 | 542 |
529 // VKEY_ATTN (F6) Attn key | 543 // VKEY_ATTN (F6) Attn key |
530 VKEY_ATTN = VK_ATTN, | 544 VKEY_ATTN = VK_ATTN, |
531 | 545 |
532 // VKEY_CRSEL (F7) CrSel key | 546 // VKEY_CRSEL (F7) CrSel key |
533 VKEY_CRSEL = VK_CRSEL, | 547 VKEY_CRSEL = VK_CRSEL, |
534 | 548 |
535 // VKEY_EXSEL (F8) ExSel key | 549 // VKEY_EXSEL (F8) ExSel key |
536 VKEY_EXSEL = VK_EXSEL, | 550 VKEY_EXSEL = VK_EXSEL, |
(...skipping 15 matching lines...) Expand all Loading... |
552 | 566 |
553 // VKEY_OEM_CLEAR (FE) Clear key | 567 // VKEY_OEM_CLEAR (FE) Clear key |
554 VKEY_OEM_CLEAR = VK_OEM_CLEAR, | 568 VKEY_OEM_CLEAR = VK_OEM_CLEAR, |
555 | 569 |
556 VKEY_UNKNOWN = 0 | 570 VKEY_UNKNOWN = 0 |
557 }; | 571 }; |
558 | 572 |
559 } // namespace blink | 573 } // namespace blink |
560 | 574 |
561 #endif | 575 #endif |
OLD | NEW |