From 17d322a1419080c68f57af1b9abc7acdae0b3c35 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 11 Feb 2024 08:33:43 +0400 Subject: [PATCH] Add xkb_mod_index_t keymap functions --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index a85f26889..e008e63e5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -239,6 +239,9 @@ functions: fn xkb_keymap_num_layouts_for_key(*mut xkb_keymap, xkb_keycode_t) -> xkb_layout_index_t, fn xkb_keymap_num_levels_for_key(*mut xkb_keymap, xkb_keycode_t, xkb_layout_index_t) -> xkb_level_index_t, + fn xkb_keymap_mod_get_name(*mut xkb_keymap, xkb_mod_index_t) -> *const c_char, + fn xkb_keymap_mod_get_index(*mut xkb_keymap, *const c_char) -> xkb_mod_index_t, + fn xkb_state_new(*mut xkb_keymap) -> *mut xkb_state, fn xkb_state_ref(*mut xkb_state) -> *mut xkb_state, fn xkb_state_unref(*mut xkb_state) -> (),