SDL  2.0
_SDL_ControllerMapping Struct Reference
+ Collaboration diagram for _SDL_ControllerMapping:

Data Fields

SDL_JoystickGUID guid
 
const char * name
 
int axes [SDL_CONTROLLER_AXIS_MAX]
 
int buttonasaxis [SDL_CONTROLLER_AXIS_MAX]
 
int buttons [SDL_CONTROLLER_BUTTON_MAX]
 
int axesasbutton [SDL_CONTROLLER_BUTTON_MAX]
 
struct _SDL_HatMapping hatasbutton [SDL_CONTROLLER_BUTTON_MAX]
 
SDL_GameControllerAxis raxes [k_nMaxReverseEntries]
 
SDL_GameControllerAxis rbuttonasaxis [k_nMaxReverseEntries]
 
SDL_GameControllerButton rbuttons [k_nMaxReverseEntries]
 
SDL_GameControllerButton raxesasbutton [k_nMaxReverseEntries]
 
SDL_GameControllerButton rhatasbutton [k_nMaxHatEntries]
 

Detailed Description

Definition at line 58 of file SDL_gamecontroller.c.

Field Documentation

§ axes

int _SDL_ControllerMapping::axes[SDL_CONTROLLER_AXIS_MAX]

§ axesasbutton

int _SDL_ControllerMapping::axesasbutton[SDL_CONTROLLER_BUTTON_MAX]

§ buttonasaxis

int _SDL_ControllerMapping::buttonasaxis[SDL_CONTROLLER_AXIS_MAX]

§ buttons

int _SDL_ControllerMapping::buttons[SDL_CONTROLLER_BUTTON_MAX]

§ guid

SDL_JoystickGUID _SDL_ControllerMapping::guid

Definition at line 60 of file SDL_gamecontroller.c.

Referenced by SDL_PrivateLoadButtonMapping().

§ hatasbutton

struct _SDL_HatMapping _SDL_ControllerMapping::hatasbutton[SDL_CONTROLLER_BUTTON_MAX]

§ name

const char* _SDL_ControllerMapping::name

Definition at line 61 of file SDL_gamecontroller.c.

Referenced by SDL_PrivateLoadButtonMapping().

§ raxes

§ raxesasbutton

SDL_GameControllerButton _SDL_ControllerMapping::raxesasbutton[k_nMaxReverseEntries]

§ rbuttonasaxis

SDL_GameControllerAxis _SDL_ControllerMapping::rbuttonasaxis[k_nMaxReverseEntries]

§ rbuttons

§ rhatasbutton

SDL_GameControllerButton _SDL_ControllerMapping::rhatasbutton[k_nMaxHatEntries]

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