Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Public Attributes | List of all members
Burger::KeyEvent_t Struct Reference

Structure holding a keyboard event. More...

Inheritance diagram for Burger::KeyEvent_t:
Inheritance graph
[legend]
Collaboration diagram for Burger::KeyEvent_t:
Collaboration graph
[legend]

Public Attributes

uint32_t m_uAscii
 Unicode ASCII value.
 
uint32_t m_uFlags
 Flags for key modifiers.
 
uint32_t m_uScanCode
 Scan code of the key.
 
- 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.
 

Detailed Description

Structure holding a keyboard event.


m_uEvent must be set to EVENT_KEYDOWN, EVENT_KEYUP or EVENT_KEYAUTO.

When a keyboard event is generated, an event is filled out and stored until it's retrieved by the application by one of the many keyboard event retrieval functions. This structure contains the scan code, Unicode code, modifiers and time in milliseconds of when the key was pressed.

See also
EventHeader_t or eKeyFlags

Member Data Documentation

◆ m_uAscii

uint32_t Burger::KeyEvent_t::m_uAscii

Unicode ASCII value.

◆ m_uFlags

uint32_t Burger::KeyEvent_t::m_uFlags

Flags for key modifiers.

◆ m_uScanCode

uint32_t Burger::KeyEvent_t::m_uScanCode

Scan code of the key.