2 useful functions for getting user input More...
Macros | |
#define | PressAnyKey() bcall(0x4972) |
Wait for a key to be pressed and return it in the "A" assembly register This is mostly used at the end of a program, bewarned that this(like any bcall) my mess with C vars, see https://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4972. | |
Functions | |
char | getKey () |
DEPRECATED Scan for keypresses and returns the currently pressed key | |
2 useful functions for getting user input
You don't actually need getKey() unless custom interupts (like greyscale.c) are used.
char getKey | ( | ) |
DEPRECATED Scan for keypresses and returns the currently pressed key