1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Fixed AltGr on Windows.

This commit is contained in:
Camilla Berglund 2013-06-05 13:11:00 +02:00
parent 180a4ee640
commit 36de6d3ce3

View File

@ -204,7 +204,9 @@ static int translateKey(WPARAM wParam, LPARAM lParam)
if (PeekMessage(&next, NULL, 0, 0, PM_NOREMOVE))
{
if (next.message == WM_KEYDOWN ||
next.message == WM_SYSKEYDOWN)
next.message == WM_SYSKEYDOWN ||
next.message == WM_KEYUP ||
next.message == WM_SYSKEYUP)
{
if (next.wParam == VK_MENU &&
(next.lParam & 0x01000000) &&