Wiki Page Content

Differences between revisions 1 and 2
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.
Revision 2 as of 2013-10-17 21:03:31
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.

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


CategoryAPI, CategoryGameController

None: SDL_GameControllerGetStringForAxis (last edited 2014-09-22 18:14:41 by PhilippWiesemann)

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