|
SDL
2.0
|
#include <SDL_gamecontroller.h>
Data Fields | |
| SDL_GameControllerBindType | bindType |
| union { | |
| int button | |
| int axis | |
| struct { | |
| int hat | |
| int hat_mask | |
| } hat | |
| } | value |
Get the SDL joystick layer binding for this controller button/axis mapping
Definition at line 70 of file SDL_gamecontroller.h.
| int SDL_GameControllerButtonBind::axis |
Definition at line 76 of file SDL_gamecontroller.h.
Referenced by SDL_GameControllerGetBindForButton().
| SDL_GameControllerBindType SDL_GameControllerButtonBind::bindType |
Definition at line 72 of file SDL_gamecontroller.h.
Referenced by SDL_GameControllerGetBindForAxis(), and SDL_GameControllerGetBindForButton().
| int SDL_GameControllerButtonBind::button |
Definition at line 75 of file SDL_gamecontroller.h.
Referenced by SDL_GameControllerGetBindForAxis(), and SDL_GameControllerGetBindForButton().
| int SDL_GameControllerButtonBind::hat |
Definition at line 78 of file SDL_gamecontroller.h.
Referenced by SDL_GameControllerGetBindForButton().
| struct { ... } SDL_GameControllerButtonBind::hat |
| int SDL_GameControllerButtonBind::hat_mask |
Definition at line 79 of file SDL_gamecontroller.h.
| union { ... } SDL_GameControllerButtonBind::value |
Referenced by SDL_GameControllerGetBindForAxis(), and SDL_GameControllerGetBindForButton().