From 32c7984a5a9306a01da29657e146649e8600e142 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 15 May 2023 10:41:30 +0200 Subject: [PATCH] Fix ID for ENGINE_EVENT_TYPE_INPUTKB --- modules/engine/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/engine/main.c b/modules/engine/main.c index daf3fc2..0b81d92 100644 --- a/modules/engine/main.c +++ b/modules/engine/main.c @@ -5,7 +5,7 @@ static char ENGINE_EVENT_TYPE_NONE = 1; struct ENGINE_EVENT_NONE { }; static char ENGINE_EVENT_TYPE_EXIT = 2; 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; }; void * engine_malloc(void * pnt,size_t size) {