We use the four keypad buttons as the yellow buttons in the original N64 controller and the joystick button as the blue A button.
The controls are simple with only 5 buttons being used. Note that you will need both files for it to work. You can either make a new file in the Arduino IDE and copy and paste the code from zeldaSongPlayer.ino and do the same for pitches.h, or download the files themselves and import into Arduino IDE.