Add L+R+START for return to the menu for other controllers (e.g., GCN controller) (#468)

This commit is contained in:
saulfabreg Wii VC Project 2024-01-05 15:44:30 -05:00 committed by GitHub
parent 6d55d21d6f
commit f1cabe8b51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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