SDL_GamepadBindingType(3type)

SDL_GamepadBindingType3type

Types of gamepad control bindings.

Usage

#include "SDL3/SDL.h"

typedef enum SDL_GamepadBindingType { SDL_GAMEPAD_BINDTYPE_NONE = 0, SDL_GAMEPAD_BINDTYPE_BUTTON, SDL_GAMEPAD_BINDTYPE_AXIS, SDL_GAMEPAD_BINDTYPE_HAT } SDL_GamepadBindingType;

Header file

Defined in SDL3/SDL_gamepad.h

Overview

A gamepad is a collection of bindings that map arbitrary joystick buttons, axes and hat switches to specific positions on a generic console-style gamepad. This enum is used as part of

SDL_GamepadBinding
to specify those mappings.

Availability

This enum is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.