zenilib: SDL_GameControllerButtonBind Struct Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Attributes | List of all members
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

Definition at line 71 of file SDL_gamecontroller.h.

Referenced by SDL_GameControllerGetBindForAxis(), and SDL_GameControllerGetBindForButton().

int SDL_GameControllerButtonBind::button

Definition at line 74 of file SDL_gamecontroller.h.

Referenced by SDL_GameControllerGetBindForAxis(), and SDL_GameControllerGetBindForButton().

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

Referenced by SDL_GameControllerGetBindForAxis(), and SDL_GameControllerGetBindForButton().

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

- zenilib/jni/external/sdl/SDL/SDL_gamecontroller.h