diff options
| author | Geoff Voelker | 1996-03-16 22:43:37 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1996-03-16 22:43:37 +0000 |
| commit | c684f4753b3331fb5e3d2ffb1f824371e6f99304 (patch) | |
| tree | e018678400ff27c0114226b010ff742028341b90 /src | |
| parent | 262df1e230ba9f88b6338f7a47d526ad27570bb1 (diff) | |
| download | emacs-c684f4753b3331fb5e3d2ffb1f824371e6f99304.tar.gz emacs-c684f4753b3331fb5e3d2ffb1f824371e6f99304.zip | |
(VK_NUMPAD_*, VK_LWIN, VK_RWIN, VK_APPS):
Define virtual keys for the numpad functions and the three
new keys on Windows keyboards.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/w32term.h b/src/w32term.h index 3d027de1e8d..36d9a4fd73c 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -588,3 +588,27 @@ extern BOOL post_msg (); | |||
| 588 | extern void wait_for_sync (); | 588 | extern void wait_for_sync (); |
| 589 | 589 | ||
| 590 | extern BOOL parse_button (); | 590 | extern BOOL parse_button (); |
| 591 | |||
| 592 | /* Keypad command key support. Win32 doesn't have virtual keys defined | ||
| 593 | for the function keys on the keypad (they are mapped to the standard | ||
| 594 | fuction keys), so we define our own. */ | ||
| 595 | #define VK_NUMPAD_BEGIN 0x92 | ||
| 596 | #define VK_NUMPAD_CLEAR (VK_NUMPAD_BEGIN + 0) | ||
| 597 | #define VK_NUMPAD_ENTER (VK_NUMPAD_BEGIN + 1) | ||
| 598 | #define VK_NUMPAD_PRIOR (VK_NUMPAD_BEGIN + 2) | ||
| 599 | #define VK_NUMPAD_NEXT (VK_NUMPAD_BEGIN + 3) | ||
| 600 | #define VK_NUMPAD_END (VK_NUMPAD_BEGIN + 4) | ||
| 601 | #define VK_NUMPAD_HOME (VK_NUMPAD_BEGIN + 5) | ||
| 602 | #define VK_NUMPAD_LEFT (VK_NUMPAD_BEGIN + 6) | ||
| 603 | #define VK_NUMPAD_UP (VK_NUMPAD_BEGIN + 7) | ||
| 604 | #define VK_NUMPAD_RIGHT (VK_NUMPAD_BEGIN + 8) | ||
| 605 | #define VK_NUMPAD_DOWN (VK_NUMPAD_BEGIN + 9) | ||
| 606 | #define VK_NUMPAD_INSERT (VK_NUMPAD_BEGIN + 10) | ||
| 607 | #define VK_NUMPAD_DELETE (VK_NUMPAD_BEGIN + 11) | ||
| 608 | |||
| 609 | #ifndef VK_LWIN | ||
| 610 | /* Older compiler environments don't have these defined. */ | ||
| 611 | #define VK_LWIN 0x5B | ||
| 612 | #define VK_RWIN 0x5C | ||
| 613 | #define VK_APPS 0x5D | ||
| 614 | #endif | ||