Module xkbcommon::xkb

source ·

Re-exports

Modules

Structs

  • Top level library context object.
  • Iterator to a Context include paths
  • A number used to represent a physical key on a keyboard.
  • Compiled keymap object.
  • iterator to the layouts in Keymap
  • iterator to the leds in a Keymap
  • iterator to the modifiers in a Keymap
  • A number used to represent the symbols generated from a key on a keyboard.
  • Keyboard state object.

Enums

Constants

Functions

Type Aliases

  • Flags for context creation.
  • Flags for keymap compilation.
  • The possible keymap formats.
  • Index of a keyboard layout.
  • A mask of layout indices
  • Index of a keyboard LED.
  • A mask of LED indices.
  • Index of a shift level.
  • Index of a modifier.
  • A mask of modifier indices.
  • Modifier and layout types for state objects. This enum is bitmaskable, e.g. (xkb::STATE_MODS_DEPRESSED | xkb::STATE_MODS_LATCHED) is valid to exclude locked modifiers.
  • Match flags for xkb_state_mod_indices_are_active and xkb_state_mod_names_are_active, specifying how the conditions for a successful match. xkb::STATE_MATCH_NON_EXCLUSIVE is bitmaskable with the other modes.