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