From bd97a7a216b8c60659d78c8bf3163d762866abad Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 4 Dec 2022 15:16:18 +1000 Subject: [PATCH] FullscreenUI: Allow unbinding a hotkey/controller with Triangle Previously this wasn't possible with a controller, only the mouse. Follow the same convention as other UI options (alternate action = triangle/Y). --- pcsx2/Frontend/FullscreenUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/Frontend/FullscreenUI.cpp b/pcsx2/Frontend/FullscreenUI.cpp index 93990ba2c5..b43500fa7b 100644 --- a/pcsx2/Frontend/FullscreenUI.cpp +++ b/pcsx2/Frontend/FullscreenUI.cpp @@ -1265,7 +1265,7 @@ void FullscreenUI::DrawInputBindingButton(SettingsInterface* bsi, PAD::Controlle { BeginInputBinding(bsi, type, section, name, display_name); } - else if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) + else if (ImGui::IsItemClicked(ImGuiMouseButton_Right) || ImGui::IsNavInputTest(ImGuiNavInput_Input, ImGuiNavReadMode_Pressed)) { bsi->DeleteValue(section, name); SetSettingsChanged(bsi);