mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-17 15:58:16 -05:00
Merge pull request #14511 from Ma-Rang/pr/nogui-escape-win32
NoGUI: Add Escape key to request emulation shutdown on Windows
This commit is contained in:
@@ -197,6 +197,11 @@ LRESULT PlatformWin32::WndProc(const HWND hwnd, const UINT msg, const WPARAM wPa
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_KEYDOWN:
|
||||
if (wParam == VK_ESCAPE)
|
||||
platform->RequestShutdown();
|
||||
break;
|
||||
|
||||
case WM_CLOSE:
|
||||
platform->RequestShutdown();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user