|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
| InputSnapshot Flint::InputManager::pollCurrentState | ( | ) |
Build a snapshot of the current state of all input devices.
Queries SDL directly for keyboard state and, if g_gamepad is non-null, for gamepad buttons and axes. Each call is independent of prior calls.