pub unsafe extern "C" fn SDL_GameControllerMapping(
    gamecontroller: *mut SDL_GameController
) -> *mut c_char
Expand description

Get the current mapping of a Game Controller.

The returned string must be freed with SDL_free().

Details about mappings are discussed with SDL_GameControllerAddMapping().

\param gamecontroller the game controller you want to get the current mapping for \returns a string that has the controller’s mapping or NULL if no mapping is available; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_GameControllerAddMapping \sa SDL_GameControllerMappingForGUID