comparison render_sdl.h @ 1862:e07fc3d473b2

Basic UI navigation with controller
author Michael Pavone <pavone@retrodev.com>
date Wed, 08 May 2019 23:44:40 -0700
parents 56a1171e29b9
children 6a07b13894f7
comparison
equal deleted inserted replaced
1861:fc05f49075c2 1862:e07fc3d473b2
9 void render_set_event_handler(event_handler handler); 9 void render_set_event_handler(event_handler handler);
10 SDL_Joystick *render_get_joystick(int index); 10 SDL_Joystick *render_get_joystick(int index);
11 SDL_GameController *render_get_controller(int index); 11 SDL_GameController *render_get_controller(int index);
12 int render_lookup_button(char *name); 12 int render_lookup_button(char *name);
13 int render_lookup_axis(char *name); 13 int render_lookup_axis(char *name);
14 void render_enable_gamepad_events(uint8_t enabled);
14 15
15 #endif //RENDER_SDL_H_ 16 #endif //RENDER_SDL_H_