Wiki Page Content

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)

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