Fix Ctrl+Pause reported as unknown key on Win32

Fixes #730
This commit is contained in:
Camilla Berglund 2016-03-24 21:20:33 +01:00
parent 728a088cd7
commit 3503cba5d9
2 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,7 @@ does not find Doxygen, the documentation will not be generated.
- [Win32] Bugfix: Activating or deactivating displays in software did not - [Win32] Bugfix: Activating or deactivating displays in software did not
trigger monitor callback trigger monitor callback
- [Win32] Bugfix: No monitors were listed on headless and VMware guest systems - [Win32] Bugfix: No monitors were listed on headless and VMware guest systems
- [Win32] Bugfix: Pressing Ctrl+Pause would report `GLFW_KEY_UNKNOWN`
- [Cocoa] Removed support for OS X 10.6 - [Cocoa] Removed support for OS X 10.6
- [Cocoa] Bugfix: Full screen windows on secondary monitors were mispositioned - [Cocoa] Bugfix: Full screen windows on secondary monitors were mispositioned
- [Cocoa] Bugfix: Connecting a joystick that reports no name would segfault - [Cocoa] Bugfix: Connecting a joystick that reports no name would segfault

View File

@ -196,6 +196,7 @@ static void createKeyTables(void)
_glfw.win32.publicKeys[0x151] = GLFW_KEY_PAGE_DOWN; _glfw.win32.publicKeys[0x151] = GLFW_KEY_PAGE_DOWN;
_glfw.win32.publicKeys[0x149] = GLFW_KEY_PAGE_UP; _glfw.win32.publicKeys[0x149] = GLFW_KEY_PAGE_UP;
_glfw.win32.publicKeys[0x045] = GLFW_KEY_PAUSE; _glfw.win32.publicKeys[0x045] = GLFW_KEY_PAUSE;
_glfw.win32.publicKeys[0x146] = GLFW_KEY_PAUSE;
_glfw.win32.publicKeys[0x039] = GLFW_KEY_SPACE; _glfw.win32.publicKeys[0x039] = GLFW_KEY_SPACE;
_glfw.win32.publicKeys[0x00F] = GLFW_KEY_TAB; _glfw.win32.publicKeys[0x00F] = GLFW_KEY_TAB;
_glfw.win32.publicKeys[0x03A] = GLFW_KEY_CAPS_LOCK; _glfw.win32.publicKeys[0x03A] = GLFW_KEY_CAPS_LOCK;