comparison render_sdl.h @ 1623:18a946ec74c8

Pull current controller config in binding UI from whatever the actual binding code would end up using
author Michael Pavone <pavone@retrodev.com>
date Wed, 24 Oct 2018 21:10:12 -0700
parents 437e80a700aa
children 56a1171e29b9
comparison
equal deleted inserted replaced
1622:4bb2c8b78b4a 1623:18a946ec74c8
10 void render_set_ui_render_fun(ui_render_fun); 10 void render_set_ui_render_fun(ui_render_fun);
11 void render_set_event_handler(event_handler handler); 11 void render_set_event_handler(event_handler handler);
12 void render_set_gl_context_handlers(ui_render_fun destroy, ui_render_fun create); 12 void render_set_gl_context_handlers(ui_render_fun destroy, ui_render_fun create);
13 SDL_Joystick *render_get_joystick(int index); 13 SDL_Joystick *render_get_joystick(int index);
14 SDL_GameController *render_get_controller(int index); 14 SDL_GameController *render_get_controller(int index);
15 15 int render_lookup_button(char *name);
16 int render_lookup_axis(char *name);
16 17
17 #endif //RENDER_SDL_H_ 18 #endif //RENDER_SDL_H_