Fix ID for ENGINE_EVENT_TYPE_INPUTKB

This commit is contained in:
Fierelier 2023-05-15 10:41:30 +02:00
parent 1d6a61e640
commit 32c7984a5a

View File

@ -5,7 +5,7 @@ static char ENGINE_EVENT_TYPE_NONE = 1;
struct ENGINE_EVENT_NONE { }; struct ENGINE_EVENT_NONE { };
static char ENGINE_EVENT_TYPE_EXIT = 2; static char ENGINE_EVENT_TYPE_EXIT = 2;
struct ENGINE_EVENT_EXIT { }; struct ENGINE_EVENT_EXIT { };
static char ENGINE_EVENT_TYPE_INPUTKB = 2; static char ENGINE_EVENT_TYPE_INPUTKB = 3;
struct ENGINE_EVENT_INPUTKB { char key; char pressed; }; struct ENGINE_EVENT_INPUTKB { char key; char pressed; };
void * engine_malloc(void * pnt,size_t size) { void * engine_malloc(void * pnt,size_t size) {