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
After a little digging, I see the markdown for getControllerID has
See [SDL_GameControllerInstanceID](https://wiki.libsdl.org/SDL_GameControllerInstanceID) for C documentation.
but that function (SDL_GameControllerInstanceID) doesn't seem to exist.
And the binding actually calls "SDL_JoystickInstanceID" which expects a joystick, not a controller, hence the error.
So what is the point of this function? It doesn't seem to map to any SDL functionality. If the point is to match up a controller to an event, I believe the intention is to use SDL_GameControllerFromInstanceID (basically go the other way from instance id to controller).
The text was updated successfully, but these errors were encountered:
I tried
which gave me
After a little digging, I see the markdown for getControllerID has
but that function (SDL_GameControllerInstanceID) doesn't seem to exist.
And the binding actually calls "SDL_JoystickInstanceID" which expects a joystick, not a controller, hence the error.
So what is the point of this function? It doesn't seem to map to any SDL functionality. If the point is to match up a controller to an event, I believe the intention is to use SDL_GameControllerFromInstanceID (basically go the other way from instance id to controller).
The text was updated successfully, but these errors were encountered: