Get the label of a button on a gamepad.
Defined in <SDL3/SDL_gamepad.h>
SDL_GamepadButtonLabel SDL_GetGamepadButtonLabelForType(SDL_GamepadType type, SDL_GamepadButton button);
type | the type of gamepad to check |
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.