Loading...
Searching...
No Matches
CAPI_KeyEvent.h File Reference

Overview

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.
 

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 KeyEvent in the C++ API for help with the parameters.

◆ ulDestroyKeyEvent()

ULExport void ulDestroyKeyEvent ( ULKeyEvent evt)

Destroy a key event.

Go to the source code of this file.