mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Fixed AltGr on Windows.
This commit is contained in:
+3
-1
@@ -204,7 +204,9 @@ static int translateKey(WPARAM wParam, LPARAM lParam)
|
|||||||
if (PeekMessage(&next, NULL, 0, 0, PM_NOREMOVE))
|
if (PeekMessage(&next, NULL, 0, 0, PM_NOREMOVE))
|
||||||
{
|
{
|
||||||
if (next.message == WM_KEYDOWN ||
|
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 &&
|
if (next.wParam == VK_MENU &&
|
||||||
(next.lParam & 0x01000000) &&
|
(next.lParam & 0x01000000) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user