yet another api rework, removal of integer types in public api, optionals at the end, some cleaning
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
TWN_API void input_bind_action_control(const char *action_name, Control control);
|
||||
TWN_API bool input_is_action_pressed(const char *action_name);
|
||||
TWN_API bool input_is_action_just_pressed(const char *action_name);
|
||||
TWN_API bool input_is_action_just_released(const char *action_name);
|
||||
TWN_API Vec2 input_get_action_position(const char *action_name);
|
||||
TWN_API void input_set_mouse_captured(bool enabled);
|
||||
TWN_API void input_action(const char *name, Control control);
|
||||
TWN_API bool input_action_pressed(const char *name);
|
||||
TWN_API bool input_action_just_pressed(const char *name);
|
||||
TWN_API bool input_action_just_released(const char *name);
|
||||
TWN_API Vec2 input_action_position(const char *name);
|
||||
TWN_API void input_mouse_captured(bool enabled);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user