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:
1 parent
61caec7258
commit
3e972b2dad
4 files changed
+451
-22
No files matched your search
+2
-2
@@ -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