THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
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.
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) |
CategoryStruct, CategoryHeader, CategoryDraft