Get the type of this currently opened controller
SDL_GameControllerType SDL_GameControllerGetType(SDL_GameController *gamecontroller);
the game controller object to query.
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.