SDL_GetGamepadButtonLabelForType3
Get the label of a button on a gamepad.
Usage
#include "SDL3/SDL.h"
SDL_GamepadButtonLabel SDL_GetGamepadButtonLabelForType(SDL_GamepadType type, SDL_GamepadButton button);
Header file
Defined in SDL3/SDL_gamepad.h
Function parameters
type
|
the type of gamepad to check. |
|---|---|
button
|
a button index (one of the |
Return value
( SDL_GamepadButtonLabel ) Returns the
SDL_GamepadButtonLabel
enum corresponding to the button label.