libxkbcommon 1.13.0
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_batch (struct xkb_context *context, enum xkb_events_flags flags)
 
XKB_EXPORT void xkb_events_destroy (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.

Since
1.14.0
See also
xkb_events_new_batch()
xkb_events_next()
xkb_events_destroy()
xkb_machine::xkb_machine_process_key()
xkb_machine::xkb_machine_process_synthetic()

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