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

◆ pollKeyboardState()

std::set< SDL_Keycode > Flint::InputManager::pollKeyboardState ( )

Return the set of keyboard keys that are currently held down.

Convenience wrapper that ignores gamepad state.

Returns
A set of SDL_Keycode values for all currently pressed keys.