From 96fd29c86f89e8b3fcb30a3729be9572d23027aa Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 12 Sep 2021 19:41:47 -0700 Subject: [PATCH] UI: Allow UI keys on emuscreen of focused. This is only if you already focus something. --- UI/EmuScreen.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 6d9f0360cc..ff383d82fc 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -728,6 +728,12 @@ void EmuScreen::onVKeyUp(int virtualKeyCode) { bool EmuScreen::key(const KeyInput &key) { Core_NotifyActivity(); + if (UI::IsFocusMovementEnabled()) { + if (UIScreen::key(key)) { + return true; + } + } + return controlMapper_.Key(key, &pauseTrigger_); }