VSTGUI  4.9
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IKeyboardHook Class Referenceabstract

generic keyboard hook interface for CFrame More...

Public Member Functions

virtual ~IKeyboardHook () noexcept=default
 
virtual int32_t onKeyDown (const VstKeyCode &code, CFrame *frame)=0
 should return 1 if no further key down processing should apply, otherwise -1 More...
 
virtual int32_t onKeyUp (const VstKeyCode &code, CFrame *frame)=0
 should return 1 if no further key up processing should apply, otherwise -1 More...
 

Detailed Description

generic keyboard hook interface for CFrame

Constructor & Destructor Documentation

virtual ~IKeyboardHook ( )
virtualdefaultnoexcept

Member Function Documentation

virtual int32_t onKeyDown ( const VstKeyCode code,
CFrame frame 
)
pure virtual

should return 1 if no further key down processing should apply, otherwise -1

virtual int32_t onKeyUp ( const VstKeyCode code,
CFrame frame 
)
pure virtual

should return 1 if no further key up processing should apply, otherwise -1


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