Fix button mapping for button combo detection

This commit is contained in:
Maschell 2025-01-03 09:34:48 +01:00
parent d0be5e4b88
commit f5d4536d42

View File

@ -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;