|
Monad Engine da02fba2
> Undercity Codex_
|
Keyboard and mouse state cache updated each frame by the engine. More...
Include dependency graph for InputManager.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | mnd::InputManager |
| Stores per-frame keyboard and mouse input state. More... | |
Namespaces | |
| namespace | mnd |
Keyboard and mouse state cache updated each frame by the engine.
Engine::Run() feeds GLFW callbacks into InputManager; game code reads state via IsKeyPressed() / IsMouseButtonPressed() and mouse-position deltas.
Keys are indexed by GLFW key codes (GLFW_KEY_*). Mouse buttons are indexed by GLFW mouse-button codes (GLFW_MOUSE_BUTTON_*). The manager is not instantiated directly — access it through Engine::GetInputManager().
Definition in file InputManager.h.