Get the type of this currently opened controller
Defined in SDL_gamecontroller.h
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.