SDL_ReloadGamepadMappings - Man Page
Reinitialize the SDL mapping database to its initial state.
Synopsis
#include <SDL3/SDL_gamepad.h> bool SDL_ReloadGamepadMappings(void);
Description
This will generate gamepad events as needed if device mappings change.
Return Value
Returns true on success or false on failure; call SDL_GetError() for more information.
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL 3.2.0.
Info
SDL 3.3.2 Simple Directmedia Layer SDL3 FUNCTIONS