SDL_GetGamepadStringForType

Convert from an SDL_GamepadType enum to a string.

extern (C) nothrow @nogc extern
const(char)**
SDL_GetGamepadStringForType

Parameters

type SDL_GamepadType

an enum value for a given SDL_GamepadType.

Return Value

Type: const(char)**

a string for the given type, or NULL if an invalid type is specified. The string returned is of the format used by SDL_Gamepad mapping strings.

See Also

Meta