getMappings static method
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
static Pointer<Pointer<Int8>> getMappings(Pointer<Int32> count) {
return sdlGetGamepadMappings(count);
}