From 9187e7eb34220684a22c8e7bc59114b1966e914e Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 26 May 2024 13:46:26 +1000 Subject: [PATCH] InputManager: Fix exit menu button forwarding to game Backport of https://github.com/stenzek/duckstation/commit/a7f2ad37de936d68e8881aa6878e91ed213d228a --- pcsx2/Input/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/Input/InputManager.cpp b/pcsx2/Input/InputManager.cpp index 17cf7cd132..c02a00a58e 100644 --- a/pcsx2/Input/InputManager.cpp +++ b/pcsx2/Input/InputManager.cpp @@ -963,7 +963,7 @@ bool InputManager::ProcessEvent(InputBindingKey key, float value, bool skip_butt // and 0 on release (when the full state changes). if (IsAxisHandler(binding->handler)) { - if (value_to_pass >= 0.0f) + if (value_to_pass >= 0.0f && (!skip_button_handlers || value_to_pass == 0.0f)) std::get(binding->handler)(value_to_pass); } else if (binding->num_keys >= min_num_keys)