You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have at least 1 joystick plugged in. The error is triggered by SDL_JoystickGetAttached(). It's perfectly legal to get an instance ID before opening a joystick, and then get a joystick before it's opened with said ID, then check if that joystick is opened. There's no SDL_JoystickIsOpen(), so this is the only way I can do it. This works silently with SDL_GameControllerGetAttached(), so the different behaviour must be a bug.
The text was updated successfully, but these errors were encountered:
As title. Why does one the
JoystickGetAttached
behave differently to theGameControllerGetAttached
?This code will trigger it:
Have at least 1 joystick plugged in. The error is triggered by
SDL_JoystickGetAttached()
. It's perfectly legal to get an instance ID before opening a joystick, and then get a joystick before it's opened with said ID, then check if that joystick is opened. There's noSDL_JoystickIsOpen()
, so this is the only way I can do it. This works silently withSDL_GameControllerGetAttached()
, so the different behaviour must be a bug.The text was updated successfully, but these errors were encountered: