libxkbcommon 1.13.0
Library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
Loading...
Searching...
No Matches
Enumerations | Functions
Features availability

Enumerations

enum  xkb_feature {
  XKB_FEATURE_ENUM_FEATURE = 1 ,
  XKB_FEATURE_ENUM_ERROR_CODE = 1000 ,
  XKB_FEATURE_ENUM_CONTEXT_FLAGS = 3200 ,
  XKB_FEATURE_ENUM_LOG_LEVEL = 5100 ,
  XKB_FEATURE_ENUM_KEYSYM_FLAGS = 9200 ,
  XKB_FEATURE_ENUM_RMLVO_BUILDER_FLAGS = 18200 ,
  XKB_FEATURE_ENUM_KEYMAP_FORMAT = 21000 ,
  XKB_FEATURE_ENUM_KEYMAP_COMPILE_FLAGS = 21200 ,
  XKB_FEATURE_ENUM_KEYMAP_SERIALIZE_FLAGS = 21400 ,
  XKB_FEATURE_ENUM_KEYMAP_KEY_ITERATOR_FLAGS = 21600 ,
  XKB_FEATURE_ENUM_STATE_COMPONENT = 24000 ,
  XKB_FEATURE_ENUM_LAYOUT_OUT_OF_RANGE_POLICY = 24020 ,
  XKB_FEATURE_ENUM_A11Y_FLAGS = 24040 ,
  XKB_FEATURE_ENUM_KEYBOARD_CONTROL_FLAGS = 24060 ,
  XKB_FEATURE_ENUM_STATE_MODE = 24200 ,
  XKB_FEATURE_ENUM_STATE_MATCH = 24820 ,
  XKB_FEATURE_ENUM_CONSUMED_MODE = 24840 ,
  XKB_FEATURE_ENUM_MACHINE_BUILDER_FLAGS = 25200 ,
  XKB_FEATURE_ENUM_EVENT_TYPE = 27000 ,
  XKB_FEATURE_ENUM_KEY_DIRECTION = 27020 ,
  XKB_FEATURE_ENUM_EVENTS_FLAGS = 27600 ,
  XKB_FEATURE_ENUM_COMPOSE_FORMAT = 30000 ,
  XKB_FEATURE_ENUM_COMPOSE_COMPILE_FLAGS = 30200 ,
  XKB_FEATURE_ENUM_COMPOSE_STATUS = 31000 ,
  XKB_FEATURE_ENUM_COMPOSE_STATE_FLAGS = 31200 ,
  XKB_FEATURE_ENUM_COMPOSE_FEED_RESULT = 31300
}
 

Functions

XKB_EXPORT bool xkb_feature_supported (enum xkb_feature feature, uint32_t value)
 

Detailed Description

Test features availability.

Enumeration Type Documentation

◆ xkb_feature

Enumerate all the features testable with xkb_feature_supported().

Since
1.14.0
Enumerator
XKB_FEATURE_ENUM_FEATURE 

The enumeration xkb_feature.

Since
1.14.0
XKB_FEATURE_ENUM_ERROR_CODE 

The enumeration xkb_error_code.

Since
1.14.0
XKB_FEATURE_ENUM_CONTEXT_FLAGS 

The enumeration xkb_context_flags.

Since
1.14.0
XKB_FEATURE_ENUM_LOG_LEVEL 

The enumeration xkb_log_level.

Since
1.14.0
XKB_FEATURE_ENUM_KEYSYM_FLAGS 

The enumeration xkb_keysym_flags.

Since
1.14.0
XKB_FEATURE_ENUM_RMLVO_BUILDER_FLAGS 

The enumeration xkb_rmlvo_builder_flags.

Since
1.14.0
XKB_FEATURE_ENUM_KEYMAP_FORMAT 

The enumeration xkb_keymap_format.

Since
1.14.0
XKB_FEATURE_ENUM_KEYMAP_COMPILE_FLAGS 

The enumeration xkb_keymap_compile_flags.

Since
1.14.0
XKB_FEATURE_ENUM_KEYMAP_SERIALIZE_FLAGS 

The enumeration xkb_keymap_serialize_flags.

Since
1.14.0
XKB_FEATURE_ENUM_KEYMAP_KEY_ITERATOR_FLAGS 

The enumeration xkb_keymap_key_iterator_flags.

Since
1.14.0
XKB_FEATURE_ENUM_STATE_COMPONENT 

The enumeration xkb_state_component.

Since
1.14.0
XKB_FEATURE_ENUM_LAYOUT_OUT_OF_RANGE_POLICY 

The enumeration xkb_layout_out_of_range_policy.

Since
1.14.0
XKB_FEATURE_ENUM_A11Y_FLAGS 

The enumeration xkb_a11y_flags.

Since
1.14.0
XKB_FEATURE_ENUM_KEYBOARD_CONTROL_FLAGS 

The enumeration xkb_keyboard_control_flags.

Since
1.14.0
XKB_FEATURE_ENUM_STATE_MODE 

The enumeration xkb_state_mode.

Since
1.14.0
XKB_FEATURE_ENUM_STATE_MATCH 

The enumeration xkb_state_match.

Since
1.14.0
XKB_FEATURE_ENUM_CONSUMED_MODE 

The enumeration xkb_consumed_mode.

Since
1.14.0
XKB_FEATURE_ENUM_MACHINE_BUILDER_FLAGS 

The enumeration xkb_machine_builder_flags.

Since
1.14.0
XKB_FEATURE_ENUM_EVENT_TYPE 

The enumeration xkb_event_type.

Since
1.14.0
XKB_FEATURE_ENUM_KEY_DIRECTION 

The enumeration xkb_key_direction.

Since
1.14.0
XKB_FEATURE_ENUM_EVENTS_FLAGS 

The enumeration xkb_events_flags.

Since
1.14.0
XKB_FEATURE_ENUM_COMPOSE_FORMAT 

The enumeration xkb_compose_format.

Since
1.14.0
XKB_FEATURE_ENUM_COMPOSE_COMPILE_FLAGS 

The enumeration xkb_compose_compile_flags.

Since
1.14.0
XKB_FEATURE_ENUM_COMPOSE_STATUS 

The enumeration xkb_compose_status.

Since
1.14.0
XKB_FEATURE_ENUM_COMPOSE_STATE_FLAGS 

The enumeration xkb_compose_state_flags.

Since
1.14.0
XKB_FEATURE_ENUM_COMPOSE_FEED_RESULT 

The enumeration xkb_compose_feed_result.

Since
1.14.0

Function Documentation

◆ xkb_feature_supported()

XKB_EXPORT bool xkb_feature_supported ( enum xkb_feature  feature,
uint32_t  value 
)

Test feature support.

This is useful when the library is dynamically linked.

Parameters
featureThe feature to check
valueThe value to check. Ignored if feature does not use a value parameter; refer to the feature’s description.
Returns
true if the feature is supported, false otherwise.
Since
1.14.0