|
⇤ ← Revision 1 as of 2013-10-15 23:36:15
Size: 1671
Comment: Add function—somewhat incomplete. Will post to docs list about these GameController functions later.
|
Size: 1652
Comment: Removed unrelated CategoryInput, changed description to lowercase.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 22: | Line 22: |
| ||'''axis'''||An enum value for a given GameController axis|| | ||'''axis'''||an enum value for a given GameController axis|| |
| Line 50: | Line 50: |
| [[CategoryAPI]], [[CategoryGameController]], [[CategoryInput]] | [[CategoryAPI]], [[CategoryGameController]] |
DRAFT |
SDL_GameControllerGetStringForAxis
Use this function to convert from an axis enum to a string.
Contents
Syntax
const char* SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis)
Function Parameters
axis |
an enum value for a given GameController axis |
Return Value
Returns a string for the given axis, or NULL if an invalid axis is specified. The string returned is of the format used by GameController mapping strings.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
