|
libxkbcommon 1.10.0
Library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
|
Data Structures | |
| struct | xkb_rule_names |
| struct | xkb_component_names |
Functions | |
| XKB_EXPORT bool | xkb_component_names::xkb_components_names_from_rules (struct xkb_context *context, const struct xkb_rule_names *rmlvo_in, struct xkb_rule_names *rmlvo_out, struct xkb_component_names *components_out) |
Utility functions related to rules, whose purpose is introduced in: XKB the keyboard keymap configuration.
| XKB_EXPORT bool xkb_components_names_from_rules | ( | struct xkb_context * | context, |
| const struct xkb_rule_names * | rmlvo_in, | ||
| struct xkb_rule_names * | rmlvo_out, | ||
| struct xkb_component_names * | components_out ) |
Resolve RMLVO names to KcCGST components.
This function is used primarily for debugging. See xkb_keymap::xkb_keymap_new_from_names() for creating keymaps from RMLVO names.
| [in] | context | The context in which to resolve the names. |
| [in] | rmlvo_in | The RMLVO names to use. |
| [out] | rmlvo_out | The RMLVO names actually used after resolving missing values. |
| [out] | components_out | The KcCGST components resulting of the RMLVO resolution. |
rmlvo_out and components can be omitted by using NULL, but not both.
If components is not NULL, it is filled with dynamically-allocated strings that should be freed by the caller.
true if the RMLVO names could be resolved, false otherwise.