SDL_GetGamepadTypeForID

Get the type of a gamepad.

This can be called before any gamepads are opened.

extern (C) nothrow @nogc extern
SDL_GetGamepadTypeForID

Parameters

instance_id SDL_JoystickID

the joystick instance ID.

Return Value

The gamepad type.

See Also

Meta