18#ifndef ULTRALIGHT_CAPI_KEYEVENT_H
19#define ULTRALIGHT_CAPI_KEYEVENT_H
35 int virtual_key_code,
int native_key_code,
ULString text,
36 ULString unmodified_text,
bool is_keypad,
bool is_auto_repeat,
Various defines and utility functions for the C API.
struct C_String * ULString
Definition CAPI_Defines.h:65
#define ULExport
Definition CAPI_Defines.h:38
ULKeyEventType
Definition CAPI_Defines.h:173
struct C_KeyEvent * ULKeyEvent
Definition CAPI_Defines.h:67
ULExport ULKeyEvent ulCreateKeyEvent(ULKeyEventType type, unsigned int modifiers, int virtual_key_code, int native_key_code, ULString text, ULString unmodified_text, bool is_keypad, bool is_auto_repeat, bool is_system_key)
Create a key event, see KeyEvent in the C++ API for help with the parameters.
ULExport void ulDestroyKeyEvent(ULKeyEvent evt)
Destroy a key event.