xkbcommon.x11

Undocumented in source.

Members

Aliases

XKB_X11_SETUP_XKB_EXTENSION_NO_FLAGS
alias XKB_X11_SETUP_XKB_EXTENSION_NO_FLAGS = xkb_x11_setup_xkb_extension_flags.XKB_X11_SETUP_XKB_EXTENSION_NO_FLAGS
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

xkb_x11_setup_xkb_extension_flags
enum xkb_x11_setup_xkb_extension_flags

Flags for the xkb_x11_setup_xkb_extension() function.

Functions

xkb_x11_get_core_keyboard_device_id
int xkb_x11_get_core_keyboard_device_id(xcb_connection_t* connection)

Get the keyboard device ID of the core X11 keyboard.

xkb_x11_keymap_new_from_device
xkb_keymap* xkb_x11_keymap_new_from_device(xkb_context* context, xcb_connection_t* connection, int device_id, xkb_keymap_compile_flags flags)

Create a keymap from an X11 keyboard device.

xkb_x11_setup_xkb_extension
int xkb_x11_setup_xkb_extension(xcb_connection_t* connection, ushort major_xkb_version, ushort minor_xkb_version, xkb_x11_setup_xkb_extension_flags flags, ushort* major_xkb_version_out, ushort* minor_xkb_version_out, ubyte* base_event_out, ubyte* base_error_out)

Setup the XKB X11 extension for this X client.

xkb_x11_state_new_from_device
xkb_state* xkb_x11_state_new_from_device(xkb_keymap* keymap, xcb_connection_t* connection, int device_id)

Create a new keyboard state object from an X11 keyboard device.

Manifest constants

XKB_X11_MIN_MAJOR_XKB_VERSION
enum XKB_X11_MIN_MAJOR_XKB_VERSION;

The minimal compatible major version of the XKB X11 extension which this library can use.

XKB_X11_MIN_MINOR_XKB_VERSION
enum XKB_X11_MIN_MINOR_XKB_VERSION;

The minimal compatible minor version of the XKB X11 extension which this library can use (for the minimal major version).

Meta