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

◆ resetKeyboardState()

void Flint::InputManager::resetKeyboardState ( )

Reset SDL's internal keyboard state, clearing any stuck keys.

Call after focus changes or synthetic input injection to ensure the next poll reflects actual hardware state.