From 5fd523e43fa4f92922ad1db1e04af35a6af2b7e6 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Wed, 15 Jan 2020 08:34:40 -0800 Subject: [PATCH] Tentative fix for Alt+Gr --- BeefySysLib/platform/win/WinBFApp.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BeefySysLib/platform/win/WinBFApp.cpp b/BeefySysLib/platform/win/WinBFApp.cpp index 2f1e1945..65ddedd6 100644 --- a/BeefySysLib/platform/win/WinBFApp.cpp +++ b/BeefySysLib/platform/win/WinBFApp.cpp @@ -790,9 +790,10 @@ LRESULT WinBFWindow::WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar pD3DDebug->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL); pD3DDebug->Release(); } - }*/ + }*/ - if ((!mIsKeyDown[VK_MENU]) && (!mIsKeyDown[VK_CONTROL])) + //NOTE: This line broke Alt+Gr for braces and such. Determine why this was needed. + //if ((!mIsKeyDown[VK_MENU]) && (!mIsKeyDown[VK_CONTROL])) { for (int i = 0; i < (lParam & 0x7FFF); i++) mKeyCharFunc(this, (WCHAR)wParam);