Get the type of a gamepad.
SDL_GamepadType SDL_GetGamepadInstanceType(SDL_JoystickID instance_id);
instance_id | the joystick instance ID |
Returns the gamepad type.
This can be called before any gamepads are opened.
This function is available since SDL 3.0.0.