twn_input: add twn_scancode.h as port of SDL_scancode.h, remove SDL2/SDL.h header usage sa for plans on having clean public headers
This commit is contained in:
@ -202,7 +202,7 @@ void input_state_update(InputState *input) {
|
||||
|
||||
void input_bind_action_scancode(InputState *input,
|
||||
char *action_name,
|
||||
SDL_Scancode scancode)
|
||||
Scancode scancode)
|
||||
{
|
||||
input_bind_code_to_action(input,
|
||||
action_name,
|
||||
@ -213,7 +213,7 @@ void input_bind_action_scancode(InputState *input,
|
||||
|
||||
void input_unbind_action_scancode(InputState *input,
|
||||
char *action_name,
|
||||
SDL_Scancode scancode)
|
||||
Scancode scancode)
|
||||
{
|
||||
input_unbind_code_from_action(input,
|
||||
action_name,
|
||||
|
Reference in New Issue
Block a user