2D_Engine_Casio/src/event.h

14 lines
280 B
C

#ifndef EVENT_H
#define EVENT_H
#include <gint/keycodes.h>
#include <stdbool.h>
/* event_t: Events struct
Store events for inputs
@keys Addressable array containing boolean state of each key */
typedef struct event_t {
bool keys[0xa6];
} event_t;
#endif // EVENT_H