Wiki Page Content

Revision 2 as of 2014-09-22 18:25:16

Clear message

DRAFT

SDL_GameControllerGetButtonFromString

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

Syntax

SDL_GameControllerButton SDL_GameControllerGetButtonFromString(const char* pchString)

Function Parameters

pchString

a string

Return Value

Returns a button mapping (SDL_GameControllerButton) on success or SDL_CONTROLLER_BUTTON_INVALID 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