libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
#include <donut/events/Event.hpp>
Public Attributes | |
std::uint32_t | mouseId |
Unique identifier of the mouse instance. More... | |
ivec2 | mousePosition |
Current mouse position relative to the window. More... | |
ivec2 | relativeMouseMotion |
Position offset relative to the previous position. More... | |
![]() | |
std::uint32_t | windowId |
Unique identifier of the window that this event belongs to, if any. More... | |
Mouse Event base.
std::uint32_t donut::events::MouseEventBase::mouseId |
Unique identifier of the mouse instance.
ivec2 donut::events::MouseEventBase::mousePosition |
Current mouse position relative to the window.
ivec2 donut::events::MouseEventBase::relativeMouseMotion |
Position offset relative to the previous position.