Function sdl2_sys::SDL_GameControllerGetStringForAxis
source ยท pub unsafe extern "C" fn SDL_GameControllerGetStringForAxis(
axis: SDL_GameControllerAxis,
) -> *const c_char
Expand description
Convert from an SDL_GameControllerAxis enum to a string.
The caller should not SDL_free() the returned string.
\param axis an enum value for a given SDL_GameControllerAxis \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.
\since This function is available since SDL 2.0.0.
\sa SDL_GameControllerGetAxisFromString