components/SDL2/src/joystick/SDL_gamecontroller.c
/*
 * Return if the controller in question is currently attached to the system,
 *  \return 0 if not plugged in, 1 if still present.
 */
Return if the controller in question is currently attached to the system,
\return 0 if not plugged in, 1 if still present.
Return if the controller in question is currently attached to the system \ return 0 if not plugged in 1 if still present .
SDL_bool
SDL_GameControllerGetAttached(SDL_GameController * gamecontroller)
{
    if (!gamecontroller)
        return SDL_FALSE;
    return SDL_JoystickGetAttached(gamecontroller->joystick);
}
SDL_bool SDL_GameControllerGetAttached ( SDL_GameController * gamecontroller ) { if ( ! gamecontroller ) return SDL_FALSE ; return SDL_JoystickGetAttached ( gamecontroller -> joystick ) ; }
Return if the controller in question is currently attached to the system,
  \return 0 if not plugged in, 1 if still present.
Return if the controller in question is currently attached to the system \ return 0 if not plugged in 1 if still present .