#pragma section-numbers off #pragma camelcase off || DRAFT|| ##*^*^*^*^*See http://wiki.libsdl.org/moin.cgi/SGFunctions for details on editing this page*^*^*^*^* = SDL_GameControllerGetAxisFromString = Use this function to convert a string into an enum representation for an [[SDL_GameControllerAxis]]. <> == Syntax == {{{#!highlight cpp SDL_GameControllerAxis SDL_GameControllerGetAxisFromString(const char* pchString) }}} == Function Parameters == ||'''pchString'''||string representing a SDL_!GameController axis|| == Return Value == Returns the [[SDL_GameControllerAxis]] enum corresponding to the input string, or SDL_CONTROLLER_AXIS_INVALID if no match was found. == 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 == This function is called internally to translate SDL_!GameController mapping strings for the underlying joystick device into the consistent SDL_!GameController mapping. You do not normally need to call this function unless you are parsing SDL_!GameController mappings in your own code. == Related Functions == .[[SDL_GameControllerGetStringForAxis]] ##Will discuss on the docs list about what related functions to include here. ---- [[CategoryAPI]], [[CategoryGameController]] ##See the Style Guide for instructions on editing the footer.