summaryrefslogtreecommitdiff
path: root/render_sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'render_sdl.c')
-rwxr-xr-xrender_sdl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render_sdl.c b/render_sdl.c
index 337d847..a594ad8 100755
--- a/render_sdl.c
+++ b/render_sdl.c
@@ -818,6 +818,7 @@ static int32_t handle_event(SDL_Event *event)
if (joy) {
printf("Joystick %d added: %s\n", index, SDL_JoystickName(joy));
printf("\tNum Axes: %d\n\tNum Buttons: %d\n\tNum Hats: %d\n", SDL_JoystickNumAxes(joy), SDL_JoystickNumButtons(joy), SDL_JoystickNumHats(joy));
+ handle_joy_added(index);
}
}
}