summaryrefslogtreecommitdiffstats
path: root/src/gba-buttons.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gba-buttons.c')
-rw-r--r--src/gba-buttons.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gba-buttons.c b/src/gba-buttons.c
index dd06351..d49383e 100644
--- a/src/gba-buttons.c
+++ b/src/gba-buttons.c
@@ -136,7 +136,12 @@ u32 gba_btn_fx_startselect[] = {
136 0x01800000, 0x00000000, 0x00000000, 0x00000004, 136 0x01800000, 0x00000000, 0x00000000, 0x00000004,
137}; 137};
138 138
139typedef enum {BTN_STATE_IDLE, BTN_STATE_PRESSED, BTN_STATE_RELEASED, BTN_STATE_HOLD} BtnState; 139typedef enum {
140 BTN_STATE_IDLE = 0,
141 BTN_STATE_PRESSED,
142 BTN_STATE_RELEASED,
143 BTN_STATE_HOLD,
144} BtnState;
140 145
141typedef struct AnimationEntry { 146typedef struct AnimationEntry {
142 int x_offset; 147 int x_offset;