reloadMappings static method

bool reloadMappings()

Reinitialize the SDL mapping database to its initial state.

This will generate gamepad events as needed if device mappings change.

\returns true on success or false on failure; call SDL_GetError() for more information.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC bool SDLCALL SDL_ReloadGamepadMappings(void)

{@category gamepad}

Implementation

static bool reloadMappings() => sdlReloadGamepadMappings();