THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
Get the status of a specified joystick.
SDL_bool SDL_JoystickGetAttached(SDL_Joystick *joystick);
joystick |
the joystick to query |
Returns SDL_TRUE if the joystick has been opened, SDL_FALSE if it has not; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.
CategoryAPI, CategoryJoystick, CategoryDraft