suloku / gcmm

A gamecube/wii memory card manager
GNU General Public License v3.0
255 stars 24 forks source link

Support input from all controller channels. #53

Open yo1dog opened 2 years ago

yo1dog commented 2 years ago

Adds listening to input from all controller channels instead of just 0. This restores functionality for those w/o a functioning P1 controller port.

Many lines touched but functionally a small change. The meat is in input.c. The rest is simply replacing PAD_ButtonsHeld(0) and PAD_ButtonsDown(0) with padsButtonsHeld() and padsButtonsDown().

Implementation is straightforward for buttons: bitwise-or the button states of all controllers.

Tested on my personal DOL-101. Works great.