Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2013-10-29 20:52:44
Size: 1732
Comment: Added page for SDL_GameControllerGetBindForAxis() using content from headers.
Revision 2 as of 2014-09-22 18:12:42
Size: 1779
Comment: Added link to SDL_GameControllerAxis.
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
||'''axis'''||an axis enum value|| ||'''axis'''||an axis enum value (one of the [[SDL_GameControllerAxis]] values)||

DRAFT

SDL_GameControllerGetBindForAxis

Use this function to get the SDL joystick layer binding for a controller button mapping.

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.


CategoryAPI, CategoryGameController

None: SDL_GameControllerGetBindForAxis (last edited 2019-02-24 05:54:12 by DanielG)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit