DRAFT |
SDL_GameControllerGetButtonFromString
Use this function to turn a string into a button mapping.
Contents
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.