SDL_GetGamepadStringForAxis

Convert from an SDL_GamepadAxis enum to a string.

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

Parameters

axis SDL_GamepadAxis

an enum value for a given SDL_GamepadAxis.

Return Value

Type: const(char)**

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

See Also

Meta