Open
Description
How can I use this library to set up the keyboard state under X11. The X11 interface methods do not appear to be implemented.
The regular documentation for libxkbcommon says:
#include <xkbcommon/xkbcommon-x11.h>
xcb_connection_t *conn = <...>;
int32_t device_id;
device_id = xkb_x11_get_core_keyboard_device_id(conn);
if (device_id == -1) <error>
keymap = xkb_x11_keymap_new_from_device(ctx, conn, device_id,
XKB_KEYMAP_COMPILE_NO_FLAGS);
if (!keymap) <error>
but the xkb_x11 methods are not in this library as far as I can tell.
Metadata
Metadata
Assignees
Labels
No labels