mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
keyboard: add wlr_keyboard.keymap_fd
This exposes a read-only FD with the keymap.
This commit is contained in:
parent
55ca93469c
commit
62924cc523
2 changed files with 34 additions and 1 deletions
|
|
@ -53,6 +53,7 @@ struct wlr_keyboard {
|
|||
|
||||
char *keymap_string;
|
||||
size_t keymap_size;
|
||||
int keymap_fd;
|
||||
struct xkb_keymap *keymap;
|
||||
struct xkb_state *xkb_state;
|
||||
xkb_led_index_t led_indexes[WLR_LED_COUNT];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue