* Source/win32/WIN32Server.m: Handle Page Down and Page Up keys,

as well as adding a few others.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31200 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2010-08-25 17:03:38 +00:00
parent b7ff3b2973
commit bdc97710e0
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2010-08-24 Eric Wasylishen <ewasylishen@gmail.com>
* Source/win32/WIN32Server.m: Handle Page Down and Page Up keys,
as well as adding a few others.
2010-08-24 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/win32/WIN32Server.h:

View file

@ -1674,20 +1674,21 @@ process_char(WPARAM wParam, unsigned *eventModifierFlags)
case VK_RIGHT: WIN_FUNCTIONKEY return NSRightArrowFunctionKey;
case VK_UP: WIN_FUNCTIONKEY return NSUpArrowFunctionKey;
case VK_DOWN: WIN_FUNCTIONKEY return NSDownArrowFunctionKey;
case VK_PRIOR: WIN_FUNCTIONKEY return NSPrevFunctionKey;
case VK_NEXT: WIN_FUNCTIONKEY return NSNextFunctionKey;
case VK_PRIOR: WIN_FUNCTIONKEY return NSPageUpFunctionKey;
case VK_NEXT: WIN_FUNCTIONKEY return NSPageDownFunctionKey;
case VK_END: WIN_FUNCTIONKEY return NSEndFunctionKey;
//case VK_BEGIN: WIN_FUNCTIONKEY return NSBeginFunctionKey;
case VK_SELECT: WIN_FUNCTIONKEY return NSSelectFunctionKey;
case VK_PRINT: WIN_FUNCTIONKEY return NSPrintFunctionKey;
case VK_SNAPSHOT: WIN_FUNCTIONKEY return NSPrintScreenFunctionKey;
case VK_EXECUTE: WIN_FUNCTIONKEY return NSExecuteFunctionKey;
case VK_INSERT: WIN_FUNCTIONKEY return NSInsertFunctionKey;
case VK_HELP: WIN_FUNCTIONKEY return NSHelpFunctionKey;
case VK_CANCEL: WIN_FUNCTIONKEY return NSBreakFunctionKey;
//case VK_MODECHANGE: WIN_FUNCTIONKEY return NSModeSwitchFunctionKey;
case VK_MODECHANGE: WIN_FUNCTIONKEY return NSModeSwitchFunctionKey;
case VK_SCROLL: WIN_FUNCTIONKEY return NSScrollLockFunctionKey;
case VK_PAUSE: WIN_FUNCTIONKEY return NSPauseFunctionKey;
case VK_OEM_CLEAR: WIN_FUNCTIONKEY return NSClearDisplayFunctionKey;
case VK_CLEAR: WIN_FUNCTIONKEY return NSClearLineFunctionKey;
#undef WIN_FUNCTIONKEY
default:
return 0;