Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2013-10-29 20:40:30
Size: 1600
Comment: Added page for SDL_GameControllerGetStringForButton() using content from headers.
Revision 2 as of 2014-09-22 18:26:00
Size: 1649
Comment: Added link to SDL_GameControllerButton.
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
||'''button'''||a button enum value|| ||'''button'''||a button enum value (one of the [[SDL_GameControllerButton]] values)||

DRAFT

SDL_GameControllerGetStringForButton

Use this function to turn a button enum into a string mapping.

Syntax

const char* SDL_GameControllerGetStringForButton(SDL_GameControllerButton button)

Function Parameters

button

a button enum value (one of the SDL_GameControllerButton values)

Return Value

Returns a string mapping on success or NULL 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_GameControllerGetStringForButton (last edited 2014-09-22 18:26:00 by PhilippWiesemann)

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