== Draft == '''THIS PAGE IS A WORK IN PROGRESS''' ... Please make edits to this page to improve it! = 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. == Data Fields == {| |[[SDL_GameControllerBindType]] |'''bindType''' |What kind of control this maps to (button/axis/hat/not mapped) |- |int |'''button''' |The [[SDL_JoystickGetButton|SDL_Joystick button]] this maps to |- |int |'''axis''' |The [[SDL_JoystickGetAxis|SDL_Joystick axis]] this maps to |- |int |'''hat.hat''' |The [[SDL_JoystickGetHat|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) |} == Related Enumerations == :[[SDL_GameControllerBindType]] == Related Functions == :[[SDL_GameControllerGetBindForAxis]] :[[SDL_GameControllerGetBindForButton]] ---- [[CategoryStruct]], [[CategoryHeader]], [[CategoryDraft]]