#pragma section-numbers off #pragma camelcase off ||DRAFT || = SDL_GameControllerGetAttached = Use this function to check if a controller has been opened and is currently connected. <> == Syntax == {{{#!highlight cpp SDL_bool SDL_GameControllerGetAttached(SDL_GameController* gamecontroller) }}} == Function Parameters == ||'''gamecontroller'''||a game controller identifier previously returned by [[SDL_GameControllerOpen]]() || == Return Value == Returns SDL_TRUE if the controller has been opened and currently connected, or SDL_FALSE if it has not. == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == ''You can add useful comments here'' == Related Functions == .[[SDL_GameControllerClose]] .[[SDL_GameControllerOpen]] ---- [[CategoryAPI]], [[CategoryGameController]]