Function SDL_ResetKeyboard

pub unsafe extern "C" fn SDL_ResetKeyboard()
Available on crate feature dep_sdl3 only.
Expand description

Clear the state of the keyboard.

This function will generate key up events for all pressed keys.

§Thread safety

This function should only be called on the main thread.

§Availability

This function is available since SDL 3.2.0.

§See also