libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Attributes | List of all members
donut::events::MouseButtonEventBase Struct Reference

Mouse button Event base. More...

#include <donut/events/Event.hpp>

Inheritance diagram for donut::events::MouseButtonEventBase:
donut::events::MouseEventBase donut::events::InputEventBase donut::events::EventBase donut::events::MouseButtonPressedEvent donut::events::MouseButtonReleasedEvent

Public Attributes

Input physicalMouseButtonInput
 Physical button input identifier. More...
 
std::uint8_t clickCount
 Number of consecutive clicks within a short time interval. More...
 
- Public Attributes inherited from donut::events::MouseEventBase
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...
 
- Public Attributes inherited from donut::events::InputEventBase
std::uint32_t windowId
 Unique identifier of the window that this event belongs to, if any. More...
 

Detailed Description

Mouse button Event base.

Member Data Documentation

◆ physicalMouseButtonInput

Input donut::events::MouseButtonEventBase::physicalMouseButtonInput

Physical button input identifier.

◆ clickCount

std::uint8_t donut::events::MouseButtonEventBase::clickCount

Number of consecutive clicks within a short time interval.


The documentation for this struct was generated from the following file: