---
name: "SDL_GamepadBindingType"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_GamepadBindingType"
---

# SDL\_GamepadBindingType(3type)

Types of gamepad control bindings.

## NAME

SDL\_GamepadBindingType - Types of gamepad control bindings.

## HEADER FILE

Defined in SDL3/SDL\_gamepad.h

## SYNOPSIS

```
#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;**

## DESCRIPTION

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.
