From 3387c9fef273f2cc0674ea77ed950c0965299c4e Mon Sep 17 00:00:00 2001 From: realtradam Date: Thu, 13 Apr 2023 23:40:15 -0400 Subject: foundation of input system and initial implementation --- include/rodeo/input.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/rodeo/input.h (limited to 'include/rodeo/input.h') diff --git a/include/rodeo/input.h b/include/rodeo/input.h new file mode 100644 index 0000000..1f89b8c --- /dev/null +++ b/include/rodeo/input.h @@ -0,0 +1,31 @@ + +// -- internal -- +// public +#include "rodeo/input_t.h" + +bool +rodeo_input_events_poll(void); + +void +rodeo_input_scene_activate( + rodeo_input_scene_t *scene +); + +void +rodeo_input_scene_deactivate( + rodeo_input_scene_t *scene +); + +void +rodeo_input_scene_register_callback( + rodeo_input_callback_function func, + rodeo_input_scene_t *scene, + rodeo_input_register_type_t type +); + +void +rodeo_input_scene_unregister_callback( + rodeo_input_callback_function func, + rodeo_input_scene_t *scene, + rodeo_input_register_type_t type +); -- cgit v1.2.3