xkbcommon 1.14.0-beta2
Reference library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
Loading...
Searching...
No Matches
Public Member Functions
xkb_events Struct Reference

#include <xkbcommon.h>

Public Member Functions

XKB_EXPORT struct xkb_eventsxkb_events_new (struct xkb_context *context, const struct xkb_events_config *config, enum xkb_error_code *error)
 
XKB_EXPORT struct xkb_eventsxkb_events_ref (struct xkb_events *events)
 
XKB_EXPORT void xkb_events_unref (struct xkb_events *events)
 
XKB_EXPORT const struct xkb_eventxkb_events_next (struct xkb_events *events)
 

Detailed Description

Opaque keyboard event collection object.

An xkb_events batch collects keyboard events produced atomically by a single call to an process_* function such as xkb_machine::xkb_machine_process_key(). Events are consumed sequentially via xkb_events_next(). The collection is reset on each process_* call.

See also
xkb_events_new()
xkb_events_next()
xkb_events_ref()
xkb_events_unref()
xkb_machine::xkb_machine_process_key()
xkb_machine::xkb_machine_process_synthetic()
Since
1.14.0

The documentation for this struct was generated from the following file: