Skip to content

Commit

Permalink
Add L+R+START for return to the menu for other controllers (e.g., GCN…
Browse files Browse the repository at this point in the history
… controller) (#468)
  • Loading branch information
saulfabregwiivc authored Jan 5, 2024
1 parent 6d55d21 commit f1cabe8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand Down

0 comments on commit f1cabe8

Please sign in to comment.