Get the type of this currently opened gamepad
SDL_GamepadType SDL_GetGamepadType(SDL_Gamepad *gamepad);
gamepad | the gamepad object to query. |
Returns the gamepad type.
This is the same name as returned by SDL_GetGamepadInstanceType(), but it takes a gamepad identifier instead of the (unstable) device index.
This function is available since SDL 3.0.0.