SDL 3.0
SDL_GamepadBinding Struct Reference

#include <SDL_gamepad.h>

Data Fields

SDL_GamepadBindingType inputType
 
union { 
 
   int   button 
 
   struct { 
 
      int   axis 
 
      int   axis_min 
 
      int   axis_max 
 
   }   axis 
 
   struct { 
 
      int   hat 
 
      int   hat_mask 
 
   }   hat 
 
input 
 
SDL_GamepadBindingType outputType
 
union { 
 
   SDL_GamepadButton   button 
 
   struct { 
 
      SDL_GamepadAxis   axis 
 
      int   axis_min 
 
      int   axis_max 
 
   }   axis 
 
output 
 

Detailed Description

Definition at line 181 of file SDL_gamepad.h.

Field Documentation

◆ axis [1/4]

int SDL_GamepadBinding::axis

Definition at line 190 of file SDL_gamepad.h.

◆ [struct] [2/4]

struct { ... } SDL_GamepadBinding::axis

◆ axis [3/4]

SDL_GamepadAxis SDL_GamepadBinding::axis

Definition at line 210 of file SDL_gamepad.h.

◆ [struct] [4/4]

struct { ... } SDL_GamepadBinding::axis

◆ axis_max

int SDL_GamepadBinding::axis_max

Definition at line 192 of file SDL_gamepad.h.

◆ axis_min

int SDL_GamepadBinding::axis_min

Definition at line 191 of file SDL_gamepad.h.

◆ button [1/2]

int SDL_GamepadBinding::button

Definition at line 186 of file SDL_gamepad.h.

◆ button [2/2]

SDL_GamepadButton SDL_GamepadBinding::button

Definition at line 206 of file SDL_gamepad.h.

◆ hat [1/2]

int SDL_GamepadBinding::hat

Definition at line 197 of file SDL_gamepad.h.

◆ [struct] [2/2]

struct { ... } SDL_GamepadBinding::hat

◆ hat_mask

int SDL_GamepadBinding::hat_mask

Definition at line 198 of file SDL_gamepad.h.

◆ [union]

union { ... } SDL_GamepadBinding::input

◆ inputType

SDL_GamepadBindingType SDL_GamepadBinding::inputType

Definition at line 183 of file SDL_gamepad.h.

◆ [union]

union { ... } SDL_GamepadBinding::output

◆ outputType

SDL_GamepadBindingType SDL_GamepadBinding::outputType

Definition at line 203 of file SDL_gamepad.h.


The documentation for this struct was generated from the following file: