SDL_ReloadGamepadMappings - Man Page
Reinitialize the SDL mapping database to its initial state.
Header File
Defined in SDL3/SDL_gamepad.h
Synopsis
#include "SDL3/SDL.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.
Availability
This function is available since SDL 3.2.0.
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS