diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2021-01-16 10:21:39 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2021-01-16 10:21:39 -0500 |
commit | 7c8a16289cadf193fdd43e45e855529d6047150d (patch) | |
tree | d5d2b61dda6f3e2f3d2748c78542d90efb9555be /buttons.h | |
parent | 245866891a98fca3cacffdfb0a27b3505c7d404b (diff) |
modular games; draft 2048
Diffstat (limited to 'buttons.h')
-rw-r--r-- | buttons.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ #define BUTTON_2 (1 << 1) #define BUTTON_3 (1 << 0) +#define BUTTON_JOYUP (BUTTON_JOYUL | BUTTON_JOYUR) +#define BUTTON_JOYDOWN (BUTTON_JOYDL | BUTTON_JOYDR) +#define BUTTON_JOYLEFT (BUTTON_JOYUL | BUTTON_JOYDL) +#define BUTTON_JOYRIGHT (BUTTON_JOYUR | BUTTON_JOYDR) + extern unsigned char button_state; void buttons_init(); |