Interface Technology Basics  VST 3.7
SDK for developing VST plug-in
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. More...
 
KeyCodeoperator= (const KeyCode &other) SMTG_NOEXCEPT
 

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ KeyCode()

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

Constructs a new KeyCode.

Member Function Documentation

◆ operator=()

KeyCode& operator= ( const KeyCode other)
inline

Member Data Documentation

◆ character

char character

The associated character.

◆ virt

uint8 virt

The associated virtual key-code.

◆ modifier

uint8 modifier

The associated virtual modifier-code.

Empty

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