diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-10-24 21:10:12 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-10-24 21:10:12 -0700 |
commit | 9032f0c6e641189e659ddcad18f8d458c6662c25 (patch) | |
tree | 9541ffb98b7ad3fc9e5e3151af285e2d1df2f1f6 /render_sdl.h | |
parent | 58d486e0173fd732745dc2708bc706328642ea1b (diff) |
Pull current controller config in binding UI from whatever the actual binding code would end up using
Diffstat (limited to 'render_sdl.h')
-rw-r--r-- | render_sdl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render_sdl.h b/render_sdl.h index db50c86..2eca518 100644 --- a/render_sdl.h +++ b/render_sdl.h @@ -12,6 +12,7 @@ void render_set_event_handler(event_handler handler); void render_set_gl_context_handlers(ui_render_fun destroy, ui_render_fun create); SDL_Joystick *render_get_joystick(int index); SDL_GameController *render_get_controller(int index); - +int render_lookup_button(char *name); +int render_lookup_axis(char *name); #endif //RENDER_SDL_H_ |