sdlGetGamepadMappings function
Get the current gamepad mappings.
\param count a pointer filled in with the number of mappings returned, can be NULL. \returns an array of the mapping strings, NULL-terminated, or NULL on failure; call SDL_GetError() for more information. This is a single allocation that should be freed with SDL_free() when it is no longer needed.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC char ** SDLCALL SDL_GetGamepadMappings(int *count)
Implementation
Pointer<Pointer<Int8>> sdlGetGamepadMappings(Pointer<Int32> count) {
final sdlGetGamepadMappingsLookupFunction = libSdl3.lookupFunction<
Pointer<Pointer<Int8>> Function(Pointer<Int32> count),
Pointer<Pointer<Int8>> Function(
Pointer<Int32> count)>('SDL_GetGamepadMappings');
return sdlGetGamepadMappingsLookupFunction(count);
}