Brunot
Loading...
Searching...
No Matches
Keys.cpp File Reference

Class that can interact with the keyboard. More...

#include "Keys.h"
#include "GLFW/glfw3.h"
#include "System/Camera.h"
#include "Framework/Engine.h"
#include "System/DebugDraw.h"
#include "Graphics/Line.h"
#include "System/Input.h"
#include "imgui.h"
#include "System/Messaging.h"
#include "Utility/Messages/KeyPressedMessage.h"
#include "System/Editor.h"
Include dependency graph for Keys.cpp:

Detailed Description

Class that can interact with the keyboard.

Detects whenever a key is pressed, and then broadcasts a corresponding message if it is a registered key

Keys are registered inside an internal map. Key input is broadcasted with an ID of -1.

Author
Bryley Elder (bryle.nosp@m.y.el.nosp@m.der@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Base Implementation Ori Balashov (ori.b.nosp@m.alas.nosp@m.hov@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u) Refactoring and additions
Date
2026 / 07 / 01