SDL_GetGamepadButtonLabelForType

Get the label of a button on a gamepad.

extern (C) nothrow @nogc extern
SDL_GetGamepadButtonLabelForType

Parameters

type SDL_GamepadType

the type of gamepad to check.

button SDL_GamepadButton

a button index (one of the SDL_GamepadButton values).

Return Value

the SDL_GamepadButtonLabel enum corresponding to the button label.

See Also

Meta