mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Added support for WM_UNICHAR.
This commit is contained in:
parent
fa0cbd9a44
commit
082306b1db
@ -427,6 +427,21 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_UNICHAR:
|
||||
{
|
||||
// This message is not sent by Windows, but is sent by some
|
||||
// third-party input method engines
|
||||
|
||||
if (wParam == UNICODE_NOCHAR)
|
||||
{
|
||||
// Returning TRUE here announces support for this message
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
_glfwInputChar(window, (unsigned int) wParam);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
case WM_KEYUP:
|
||||
case WM_SYSKEYUP:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user