iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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
 

Detailed Description

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

Definition at line 615 of file IPlugStructs.h.

Constructor & Destructor Documentation

◆ IKeyPress()

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 627 of file IPlugStructs.h.

Member Function Documentation

◆ DBGPrint()

void IKeyPress::DBGPrint ( ) const
inline

Definition at line 634 of file IPlugStructs.h.

Member Data Documentation

◆ A

bool IKeyPress::A

Definition at line 619 of file IPlugStructs.h.

◆ C

bool IKeyPress::C

Definition at line 619 of file IPlugStructs.h.

◆ S

bool IKeyPress::S

Definition at line 619 of file IPlugStructs.h.

◆ utf8

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

Definition at line 618 of file IPlugStructs.h.

◆ VK

int IKeyPress::VK

Definition at line 617 of file IPlugStructs.h.


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