diff --git a/src/win32_window.c b/src/win32_window.c index b5c03ea3f..96b308e3c 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -329,6 +329,13 @@ static int translateKey(WPARAM wParam, LPARAM lParam) return GLFW_KEY_LEFT_CONTROL; } + if (wParam == VK_PROCESSKEY) + { + // IME notify of filtered keys by setting the virtual key-code to VK_PROCESSKEY + + return _GLFW_KEY_INVALID; + } + return _glfw.win32.publicKeys[HIWORD(lParam) & 0x1FF]; }