#ifndef _fencer_input_h #define _fencer_input_h #include #include #include typedef void (*InputActionDelegate)(int value); extern void input_init(); extern void input_clean(); extern void input_handle_event(SDL_Event event); extern void input_add_axis_action(SDL_Scancode negative, SDL_Scancode positive, InputActionDelegate delegate); extern void input_add_key_action(SDL_Scancode key, InputActionDelegate delegate); extern void input_remove_actions(InputActionDelegate delegate); #endif // !_fencer_input_h