pub unsafe extern "C" fn SDL_GameControllerGetAttached(
    gamecontroller: *mut SDL_GameController
) -> SDL_bool
Expand description

Check if a controller has been opened and is currently connected.

\param gamecontroller a game controller identifier previously returned by SDL_GameControllerOpen() \returns SDL_TRUE if the controller has been opened and is currently connected, or SDL_FALSE if not.

\since This function is available since SDL 2.0.0.

\sa SDL_GameControllerClose \sa SDL_GameControllerOpen