Type Definition xkbcommon::xkb::StateComponent[][src]

type StateComponent = u32;

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.

In XKB, the DEPRESSED components are also known as ‘base’.