Interface Technology Basics  VST 3.7
SDK for developing VST plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
KeyCode Struct Reference

Simple data-struct representing a key-stroke on the keyboard. More...

#include <keycodes.h>

Public Member Functions

 KeyCode (char character=0, uint8 virt=0, uint8 modifier=0)
 Constructs a new KeyCode.
 
KeyCodeoperator= (const KeyCode &other) SMTG_NOEXCEPT
 

Public Attributes

char character
 The associated character.
 
uint8 virt
 The associated virtual key-code.
 
uint8 modifier
 The associated virtual modifier-code.
 

Detailed Description

Simple data-struct representing a key-stroke on the keyboard.

Constructor & Destructor Documentation

KeyCode ( char  character = 0,
uint8  virt = 0,
uint8  modifier = 0 
)
inlineexplicit

Constructs a new KeyCode.

Member Function Documentation

KeyCode& operator= ( const KeyCode other)
inline

Member Data Documentation

char character

The associated character.

uint8 virt

The associated virtual key-code.

uint8 modifier

The associated virtual modifier-code.

Empty

Copyright ©2022 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.