diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/lua_core.h | 3 | ||||
| -rw-r--r-- | include/state.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/lua_core.h b/include/lua_core.h index a289cb0..431fc28 100644 --- a/include/lua_core.h +++ b/include/lua_core.h @@ -11,7 +11,8 @@ enum EventType { EVENT_MOUSE_BUTTON, EVENT_MOUSE_CURSOR_POS, EVENT_MOUSE_SCROLL, - EVENT_CURSOR_ENTER + EVENT_CURSOR_ENTER, + EVENT_JOYSTICK }; enum BufferType { diff --git a/include/state.h b/include/state.h index 1172086..a777f40 100644 --- a/include/state.h +++ b/include/state.h @@ -27,6 +27,7 @@ typedef struct { GLFWcursorposfun raylibMouseCursorPosCallback; GLFWscrollfun raylibMouseScrollCallback; GLFWcursorenterfun raylibCursorEnterCallback; + GLFWjoystickfun raylibJoystickCallback; } State; extern State *state; |
