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