Engine/lib/sdl/src/joystick/SDL_gamecontroller.c
/*
 * Get the joystick for this controller
 */
Get the joystick for this controller
Get the joystick for this controller
SDL_Joystick *SDL_GameControllerGetJoystick(SDL_GameController * gamecontroller)
{
    if (!gamecontroller)
        return NULL;
    return gamecontroller->joystick;
}
SDL_Joystick * SDL_GameControllerGetJoystick ( SDL_GameController * gamecontroller ) { if ( ! gamecontroller ) return NULL ; return gamecontroller -> joystick ; }
Get the joystick for this controller
Get the joystick for this controller