Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ requestKeyboardRestore()

void Flint::InputManager::requestKeyboardRestore ( )

Schedule a one-shot keyboard state restore.

Sets an internal flag that is consumed by consumeKeyboardRestoreRequest(). Intended for use when an external event (e.g. focus change) requires a keyboard state refresh on the next frame. Thread-safe.