pub unsafe extern "C" fn SDL_GameControllerGetStringForButton(
    button: SDL_GameControllerButton
) -> *const c_char
Expand description

Convert from an SDL_GameControllerButton enum to a string.

The caller should not SDL_free() the returned string.

\param button an enum value for a given SDL_GameControllerButton \returns a string for the given button, 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_GameControllerGetButtonFromString