DRAFT |
SDL_GameControllerButtonBind
A structure that contains info on how a logical SDL_GameController button or axis is mapped to the underlying SDL_Joystick's button/axis/hat.
Contents
Data Fields
bindType |
What kind of control this maps to (button/axis/hat/not mapped) |
|
int |
button |
The SDL_Joystick button this maps to |
int |
axis |
The SDL_Joystick axis this maps to |
int |
hat.hat |
The SDL_Joystick hat this maps to |
int |
hat.hat_mask |
the mask you need to binary-& with the hat's value with (this probaly corresponds to one direction of the hat) |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Related Enumerations
Related Functions
CategoryStruct, CategoryHeader