From c911ba043116e9d0e321311ddf27b0170d74410b Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 18 Aug 2023 01:23:30 +0300 Subject: RL.event function with input events. --- include/lua_core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/lua_core.h') diff --git a/include/lua_core.h b/include/lua_core.h index 972214e..7c61d07 100644 --- a/include/lua_core.h +++ b/include/lua_core.h @@ -1,5 +1,7 @@ #pragma once +enum EventType { EVENT_KEY, EVENT_CHAR, EVENT_MOUSE_BUTTON, EVENT_MOUSE_CURSOR_POS, EVENT_MOUSE_SCROLL, EVENT_CURSOR_ENTER }; + void defineGlobals(); void logCustom( int logLevel, const char *text, va_list args ); -- cgit v1.2.3