diff options
| author | realtradam <[email protected]> | 2023-04-13 23:40:15 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-04-13 23:40:15 -0400 |
| commit | 3387c9fef273f2cc0674ea77ed950c0965299c4e (patch) | |
| tree | 9d56a18e8e4c27f80b6ca720a3f0b4946ba19501 /include/rodeo/input.h | |
| parent | f250a4090cf4d535a163388fb5faea5ff1ce48e4 (diff) | |
| download | RodeoKit-3387c9fef273f2cc0674ea77ed950c0965299c4e.tar.gz RodeoKit-3387c9fef273f2cc0674ea77ed950c0965299c4e.zip | |
foundation of input system and initial implementation
Diffstat (limited to 'include/rodeo/input.h')
| -rw-r--r-- | include/rodeo/input.h | 31 |
1 files changed, 31 insertions, 0 deletions
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 +); |
