mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-12 09:08:23 +03:00
Fix argument for SDL_JoystickEventState
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ int joy_open(void) {
|
||||
name=SDL_JoystickName(js);
|
||||
joy_axes = SDL_JoystickNumAxes(js);
|
||||
joy_buttons = SDL_JoystickNumButtons(js);
|
||||
SDL_JoystickEventState(ENABLE_SDL);
|
||||
SDL_JoystickEventState(SDL_ENABLE);
|
||||
printf("SDL joystick '%s' axes %d buttons %d\n",name,joy_axes,joy_buttons);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user