VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
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

◆ ~IKeyboardHook()

virtual ~IKeyboardHook ( )
virtualdefaultnoexcept

Member Function Documentation

◆ onKeyDown()

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

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

◆ onKeyUp()

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: