Get the SDL_GameController associated with an instance id.
Defined in SDL_gamecontroller.h
SDL_GameController* SDL_GameControllerFromInstanceID(SDL_JoystickID joyid);
SDL_JoystickID | joyid | the instance id to get the SDL_GameController for. |
(SDL_GameController *) Returns an SDL_GameController on success or NULL on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.4.