Structure for mouse button events. More...
Public Attributes | |
uint32_t | m_uX |
Absolute X position on the screen. | |
uint32_t | m_uY |
Absolute Y position on the screen. | |
uint32_t | m_uButtons |
Mouse buttons. | |
Public Attributes inherited from Burger::EventHeader_t | |
eEvent | m_uEvent |
Event type. | |
uint_t | m_uWhich |
Which device generated the event. | |
uint32_t | m_uMSTimeStamp |
Time when the event occurred. | |
Structure for mouse button events.
m_uEvent must be set to EVENT_MOUSEDOWN or EVENT_MOUSEUP.
When posting a EVENT_MOUSEDOWN or EVENT_MOUSEUP event, only the m_uButtons value needs to be set since m_uX and m_uY will be filled in by the Mouse::PostMouseEvent() function.
When receiving this event, all entries are valid.
uint32_t Burger::MouseButtonEvent_t::m_uX |
Absolute X position on the screen.
uint32_t Burger::MouseButtonEvent_t::m_uY |
Absolute Y position on the screen.