From 55e1551cc700662e3979873a27dc51d8c04066df Mon Sep 17 00:00:00 2001 From: Nicholas F <51171750+rluxv@users.noreply.github.com> Date: Mon, 3 Apr 2023 22:39:29 -0400 Subject: [PATCH] Add F11 hotkey to gamepad view (#727) --- src/gui/PadViewFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/PadViewFrame.cpp b/src/gui/PadViewFrame.cpp index 9de15d7f..4db25c5f 100644 --- a/src/gui/PadViewFrame.cpp +++ b/src/gui/PadViewFrame.cpp @@ -139,7 +139,7 @@ void PadViewFrame::OnKeyUp(wxKeyEvent& event) const auto code = event.GetKeyCode(); if (code == WXK_ESCAPE) ShowFullScreen(false); - else if (code == WXK_RETURN && event.AltDown()) + else if (code == WXK_RETURN && event.AltDown() || code == WXK_F11) ShowFullScreen(!IsFullScreen()); }