|
⇤ ← Revision 1 as of 2013-10-29 20:17:54
Size: 1536
Comment: Added page for SDL_GameControllerGetButtonFromString() using content from headers.
|
← Revision 2 as of 2014-09-22 18:25:16 ⇥
Size: 1567
Comment: Added link to SDL_GameControllerButton.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 26: | Line 26: |
| Returns a button mapping on success or SDL_CONTROLLER_BUTTON_INVALID on failure. | Returns a button mapping ([[SDL_GameControllerButton]]) on success or SDL_CONTROLLER_BUTTON_INVALID on failure. |
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.
