Get the label of a button on a gamepad.
SDL_GamepadButtonLabel SDL_GetGamepadButtonLabel(SDL_Gamepad *gamepad, SDL_GamepadButton button);
gamepad | a gamepad |
button | a button index (one of the SDL_GamepadButton values) |
Returns the SDL_GamepadButtonLabel enum corresponding to the button label
This function is available since SDL 3.0.0.