|
Size: 1779
Comment: Added link to SDL_GameControllerAxis.
|
Size: 1843
Comment: link SDL_GameControllerButtonBind struct
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 48: | Line 48: |
| == Related Structures == .[[SDL_GameControllerButtonBind]] |
DRAFT |
SDL_GameControllerGetBindForAxis
Use this function to get the SDL joystick layer binding for a controller button mapping.
Contents
Syntax
SDL_GameControllerButtonBind SDL_GameControllerGetBindForAxis(SDL_GameController* gamecontroller,
SDL_GameControllerAxis axis)
Function Parameters
gamecontroller |
a game controller |
axis |
an axis enum value (one of the SDL_GameControllerAxis values) |
Return Value
Returns a binding on success or an empty binding on failure.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Version
This function is available since SDL 2.0.0.
Related Structures
