SDL_GamepadBinding

A mapping between one joystick input to a gamepad control.

A gamepad has a collection of several bindings, to say, for example, when joystick button number 5 is pressed, that should be treated like the gamepad's "start" button.

SDL has these bindings built-in for many popular controllers, and can add more with a simple text string. Those strings are parsed into a collection of these structs to make it easier to operate on the data.

Members

Unions

SDL_GamepadBindingInput
union SDL_GamepadBindingInput
Undocumented in source.
SDL_GamepadBindingOutput
union SDL_GamepadBindingOutput
Undocumented in source.

Variables

input
SDL_GamepadBindingInput input;
Undocumented in source.
input_type
SDL_GamepadBindingType input_type;
Undocumented in source.
output
SDL_GamepadBindingOutput output;
Undocumented in source.
output_type
SDL_GamepadBindingType output_type;
Undocumented in source.

See Also

Meta