Function SDL_ReloadGamepadMappings

pub unsafe extern "C" fn SDL_ReloadGamepadMappings() -> bool
Available on crate feature dep_sdl3 only.
Expand description

Reinitialize the SDL mapping database to its initial state.

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.