Get the type of this currently opened controller
Defined in SDL_gamecontroller.h
SDL_GameControllerType SDL_GameControllerGetType(SDL_GameController *gamecontroller);
SDL_GameController * | gamecontroller | the game controller object to query. |
(SDL_GameControllerType) Returns the controller type.
This is the same name as returned by SDL_GameControllerTypeForIndex(), but it takes a controller identifier instead of the (unstable) device index.
This function is available since SDL 2.0.12.