Wiki Page Content

Revision 1 as of 2013-10-29 20:58:27

Clear message

DRAFT

SDL_GameControllerGetBindForButton

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

Syntax

SDL_GameControllerButtonBind SDL_GameControllerGetBindForButton(SDL_GameController*      gamecontroller,
                                                                SDL_GameControllerButton button)

Function Parameters

gamecontroller

a game controller

button

a button enum value

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

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