Ultralight C API 1.4.0
|
Key event interface.
#include <Ultralight/CAPI/CAPI_KeyEvent.h>
This file defines the C API for various key events.
Functions | |
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. | |
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.