|
Brunot
|
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"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.