#pragma section-numbers off #pragma camelcase off || DRAFT|| ##*^*^*^*^*See http://wiki.libsdl.org/moin.cgi/SGFunctions for details on editing this page*^*^*^*^* = SDL_GameControllerGetStringForAxis = Use this function to convert from an axis enum to a string. <> == Syntax == {{{#!highlight cpp const char* SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis) }}} == Function Parameters == ||'''axis'''||an enum value for a given [[SDL_GameControllerAxis]]|| == 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 SDL_!GameController mapping strings. ##; call [[SDL_GetError]]() for more information. ## Doesn't currently SDL_SetError. == Code Examples == {{{#!highlight cpp You can add your code example here }}} ##Leave this section as-is unless you have a code example to put in. In that case, replace You can add your code example here with your code example following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. == Remarks == ''You can add useful comments here'' ##Leave this section as-is unless you have a remark to put in. In that case, replace ''You can add useful comments here'' with your remark(s) following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. == Related Functions == .[[SDL_GameControllerGetAxisFromString]] ##At the very least this should refer to its opposite. ---- [[CategoryAPI]], [[CategoryGameController]]