iPlug 2: IKeyPress Struct Reference

Used for key press info, such as ASCII representation, virtual key (mapped to win32 codes) and modifiers. More...

#include <IPlugStructs.h>

Public Member Functions

 IKeyPress (const char *_utf8, int vk, bool s=false, bool c=false, bool a=false)
 IKeyPress Constructor. More...
 
void DBGPrint () const
 

Public Attributes

int VK
 
char utf8 [5] = { 0 }
 
bool S
 
bool C
 
bool A
 

Used for key press info, such as ASCII representation, virtual key (mapped to win32 codes) and modifiers.

Definition at line 614 of file IPlugStructs.h.

IKeyPress::IKeyPress ( const char *  _utf8,
int  vk,
bool  s = false,
bool  c = false,
bool  a = false 
)
inline

IKeyPress Constructor.

Parameters
_utf8UTF8 key
vkWindows Virtual Key
sIs SHIFT modifier pressed
cIs CTRL/CMD modifier pressed
aIs ALT modifier pressed

Definition at line 626 of file IPlugStructs.h.

◆ DBGPrint()

void IKeyPress::DBGPrint ( ) const
inline

◆ A

◆ C

◆ S

◆ utf8

char IKeyPress::utf8[5] = { 0 }

◆ VK


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