SDL_GetRealGamepadTypeForID

Get the type of a gamepad, ignoring any mapping override.

This can be called before any gamepads are opened.

extern (C) nothrow @nogc extern
SDL_GetRealGamepadTypeForID

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

The gamepad type.

See Also

Meta