zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_GameControllerButtonBind Struct Reference

#include <SDL_gamecontroller.h>

Public Attributes

SDL_GameControllerBindType bindType
 
union {
   int   axis
 
   int   button
 
   struct {
      int   hat
 
      int   hat_mask
 
   }   hat
 
value
 

Detailed Description

Get the SDL joystick layer binding for this controller button/axis mapping

Definition at line 69 of file SDL_gamecontroller.h.

Member Data Documentation

int SDL_GameControllerButtonBind::axis

Definition at line 75 of file SDL_gamecontroller.h.

Referenced by SDL_GameControllerGetBindForButton().

SDL_GameControllerBindType SDL_GameControllerButtonBind::bindType
int SDL_GameControllerButtonBind::button
int SDL_GameControllerButtonBind::hat

Definition at line 77 of file SDL_gamecontroller.h.

Referenced by SDL_GameControllerGetBindForButton().

struct { ... } SDL_GameControllerButtonBind::hat
int SDL_GameControllerButtonBind::hat_mask

Definition at line 78 of file SDL_gamecontroller.h.

union { ... } SDL_GameControllerButtonBind::value

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