From f5d4536d42340b203cc89e9af11fd2aa8908370a Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 3 Jan 2025 09:34:48 +0100 Subject: [PATCH] Fix button mapping for button combo detection --- source/plugin/ButtonComboManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/plugin/ButtonComboManager.cpp b/source/plugin/ButtonComboManager.cpp index 969cf94..86053e9 100644 --- a/source/plugin/ButtonComboManager.cpp +++ b/source/plugin/ButtonComboManager.cpp @@ -168,10 +168,10 @@ namespace { res |= WUPS_BUTTON_COMBO_BUTTON_B; } if (other & BCMPAD_BUTTON_X) { - res |= WUPS_BUTTON_COMBO_BUTTON_B; + res |= WUPS_BUTTON_COMBO_BUTTON_X; } if (other & BCMPAD_BUTTON_Y) { - res |= WUPS_BUTTON_COMBO_BUTTON_B; + res |= WUPS_BUTTON_COMBO_BUTTON_Y; } if (other & BCMPAD_BUTTON_LEFT) { res |= WUPS_BUTTON_COMBO_BUTTON_LEFT;