VortexGE References : The Low Level Event Functions


Back to Main Index Back to Tutorials and References : Main Page

These functions will deal with event pumping :

void ClearEvent()
void DispatchEvent()
void BlockedDispatchEvent()
bool AnyPendingEvent()
bool CheckEvent()
void PutBackEvent();
void PopEvent(void **data);
void PushEvent(void **data);
void FreeStoredEvent(void **data);

These functions will deal with keyboard events :

bool       EventKeyPress()
bool       EventKeyRelease()
uint64_t   GetKeyTimeMs()
int32_t    GetRawKeyCode()
EKeySymbol GetKeySym()
uint32_t   GetKeyString(char*, uint32_t)

These functions will deal with mouse click events :

bool       EventButtonPress()
bool       EventButtonRelease()
uint64_t   GetButtonTimeMs()
int32_t    GetButtonX()
int32_t    GetButtonY()
int32_t    GetRawButtonCode()
EBtnSymbol GetButtonSym()

These functions will deal with mouse move events :

bool     EventMouseMove()
uint64_t GetMoveTimeMs()
int32_t  GetMouseX()
int32_t  GetMouseY()
bool     GetButton1State()
bool     GetButton2State()
bool     GetButton3State()
bool     GetButton4State()
bool     GetButton5State()

These function will deal with paste data events :

bool           EventPasteData()
Clipboard::CDT GetPastedDataType()

These function will deal with other events :

bool EventExpose()
bool EventFocusChange()
bool EventCloseWindow()

Please check the VortexGE API documentation for more details.


Back to Tutorials and References : Main Page Back to Main Index