SDL_GetGamepadButtonLabel

Get the label of a button on a gamepad.

extern (C) nothrow @nogc extern
SDL_GetGamepadButtonLabel

Parameters

gamepad SDL_Gamepad*

a gamepad.

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