From f1cabe8b51fdb8b6a1fabd2b9e8226fb38d27d84 Mon Sep 17 00:00:00 2001 From: saulfabreg Wii VC Project Date: Fri, 5 Jan 2024 15:44:30 -0500 Subject: [PATCH] Add L+R+START for return to the menu for other controllers (e.g., GCN controller) (#468) --- source/input.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/input.cpp b/source/input.cpp index c1ea308..8201783 100644 --- a/source/input.cpp +++ b/source/input.cpp @@ -954,7 +954,10 @@ bool MenuRequested() { for(int i=0; i<4; i++) { if ( - (userInput[i].pad.substickX < -70) + (userInput[i].pad.substickX < -70) || + (userInput[i].pad.btns_h & PAD_TRIGGER_L && + userInput[i].pad.btns_h & PAD_TRIGGER_R && + userInput[i].pad.btns_h & PAD_BUTTON_START) #ifdef HW_RVL || (userInput[i].wpad->btns_h & WPAD_BUTTON_HOME) || (userInput[i].wpad->btns_h & WPAD_CLASSIC_BUTTON_HOME) ||