Ultralight C API 1.3.0
Loading...
Searching...
No Matches
CAPI_KeyEvent.h File Reference

Go to the source code of this file.

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,.
 
ULExport void ulDestroyKeyEvent (ULKeyEvent evt)
 Destroy a key event.
 

Function Documentation

◆ ulCreateKeyEvent()

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 also
KeyEvent for help with the following parameters.

◆ ulDestroyKeyEvent()

ULExport void ulDestroyKeyEvent ( ULKeyEvent  evt)

Destroy a key event.