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

Class that tracks mouse position and detects whenever a mouse button is pressed. More...

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

Namespaces

namespace  sys
 the type of elements in a basic_json container

Detailed Description

Class that tracks mouse position and detects whenever a mouse button is pressed.

Stores a map that it uses to broadcast a Message on mouse button press. Mouse input is broadcasted with an ID of -2.

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 Aidan Hartman (aidan.nosp@m..har.nosp@m.tman@.nosp@m.digi.nosp@m.pen.e.nosp@m.du) Assisted with mouse positioning math
Date
2026 / 07 / 01