Wiki Page Content

DRAFT

SDL_GameControllerGetButtonFromString

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

Syntax

Toggle line numbers
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

Toggle line numbers
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_GameControllerGetButtonFromString (last edited 2014-09-22 18:25:16 by PhilippWiesemann)

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