Get the connection state of a joystick.
the joystick to query.
the connection state on success or SDL_JOYSTICK_CONNECTION_INVALID on failure; call SDL_GetError() for more information.
See Implementation
Get the connection state of a joystick.