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

for more information.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS