#ifndef ENGINE_INPUT_H # define ENGINE_INPUT_H typedef struct { bool forward; bool backward; bool left; bool right; bool jump; bool crouch; bool sprint; } input_state; typedef struct { bool is_mouse; bool repeat; int bind; } keybind_t; typedef struct { keybind_t forward; keybind_t backward; keybind_t left; keybind_t right; keybind_t jump; keybind_t crouch; keybind_t sprint; } input_binding; void update_inpute_state(input_binding* bindings, input_state* state); #endif