joypad - itIsBrando/GBzLib GitHub Wiki
joypad.asm contains routines for interacting with the gameboy’s buttons
List of routines:
- Gets the
d-padandABXYbuttons - Returns button mask in the form of
PADB_…orPADF_…constants fromhardware.inc
Parameters: None
Outputs: A - button mask
Destroys: C