## page was renamed from SDL_JoystickOpened #pragma section-numbers off #pragma disable-camelcase || DRAFT|| = SDL_JoystickGetAttached = Use this function to get the status of a specified joystick. <> == Syntax == {{{#!highlight cpp SDL_bool SDL_JoystickGetAttached(SDL_Joystick* joystick) }}} == Function Parameters == ||'''joystick'''||the joystick to query|| == Return Value == Returns SDL_TRUE if the joystick has been opened, SDL_FALSE if it has not; call [[SDL_GetError]]() for more information. == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == ''You can add useful comments here'' == Related Functions == .[[SDL_JoystickClose]] .[[SDL_JoystickOpen]] ---- [[CategoryAPI]], [[CategoryJoystick]]