table of contents
other versions
- trixie 3.2.10+ds-1
 - testing 3.2.26+ds-1
 - unstable 3.2.26+ds-2
 - experimental 3.3.2+git20251103~dc5b136+ds-1
 
| SDL_GamepadButtonLabel(3type) | SDL3 DATATYPES | SDL_GamepadButtonLabel(3type) | 
NAME¶
SDL_GamepadButtonLabel - The set of gamepad button labels
HEADER FILE¶
Defined in SDL3/SDL_gamepad.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef enum SDL_GamepadButtonLabel
{
    SDL_GAMEPAD_BUTTON_LABEL_UNKNOWN,
    SDL_GAMEPAD_BUTTON_LABEL_A,
    SDL_GAMEPAD_BUTTON_LABEL_B,
    SDL_GAMEPAD_BUTTON_LABEL_X,
    SDL_GAMEPAD_BUTTON_LABEL_Y,
    SDL_GAMEPAD_BUTTON_LABEL_CROSS,
    SDL_GAMEPAD_BUTTON_LABEL_CIRCLE,
    SDL_GAMEPAD_BUTTON_LABEL_SQUARE,
    SDL_GAMEPAD_BUTTON_LABEL_TRIANGLE
} SDL_GamepadButtonLabel;
DESCRIPTION¶
This isn't a complete set, just the face buttons to make it easy to show button prompts.
For a complete set, you should look at the button and gamepad type and have a set of symbols that work well with your art style.
AVAILABILITY¶
This enum is available since SDL 3.2.0.
| SDL 3.2.10 | Simple Directmedia Layer |