VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
KeyboardEvent Struct Reference

KeyboardEvent. More...

#include <events.h>

+ Inheritance diagram for KeyboardEvent:

Public Member Functions

 KeyboardEvent (EventType t=EventType::KeyDown)
 
- Public Member Functions inherited from Event
 Event () noexcept
 
 Event (const Event &)=delete
 
Eventoperator= (const Event &)=delete
 
 Event (Event &&)=default
 
Eventoperator= (Event &&)=default
 

Public Attributes

char32_t character {0}
 UTF-32 character. More...
 
VirtualKey virt {VirtualKey::None}
 virtual key More...
 
bool isRepeat {false}
 indicates for a key down event if this is a repeated key down More...
 
- Public Attributes inherited from ModifierEvent
Modifiers modifiers {}
 pressed modifiers More...
 
- Public Attributes inherited from Event
EventType type {EventType::Unknown}
 Type. More...
 
uint64_t id
 Unique ID. More...
 
uint64_t timestamp
 Timestamp. More...
 
EventConsumeState consumed
 Consumed? If this is true, event dispatching is stopped. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ KeyboardEvent()

Member Data Documentation

◆ character

char32_t character {0}

UTF-32 character.

◆ isRepeat

bool isRepeat {false}

indicates for a key down event if this is a repeated key down

◆ virt

virtual key


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