Get the type of a game controller.
SDL_GameControllerType SDL_GameControllerTypeForIndex(int joystick_index);
Returns the controller type.
This can be called before any controllers are opened.
This function is available since SDL 2.0.12.
CategoryAPI