path: root/src/bin/e_comp_wl_input.h
diff options
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-06-30 20:19:33 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-06-30 20:19:33 +0200
commitd1e700cb68d66f5f7cc9a9ce322a11a51fd785d5 (patch)
treee6cac63f799f61d9a17cedc2f4e4752ba4876287 /src/bin/e_comp_wl_input.h
parentunset release mode (diff)
e_comp_wl: introduce api to set index of keymap
this commit introduces the setting of the index. Setting the index here means that the layout with the id 0..n, out of the compiled keymap file will be used. After a new index is set the modifiers are updated, that the client are aware of the new resulting group. If the api is called before the compositor is inited (this can happen in e_xkb, so the drm can use the keymap at startup) then the index is saved in between and will be flushed once the compositor does the init.
Diffstat (limited to 'src/bin/e_comp_wl_input.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_comp_wl_input.h b/src/bin/e_comp_wl_input.h
index 9f7e40a22..8884deec3 100644
--- a/src/bin/e_comp_wl_input.h
+++ b/src/bin/e_comp_wl_input.h
@@ -29,6 +29,8 @@ E_API void e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled);
E_API void e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled);
E_API void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled);
+E_API void e_comp_wl_input_keymap_index_set(xkb_layout_index_t index);
E_API void e_comp_wl_input_keymap_set(const char *rules, const char *model, const char *layout, const char *variant, const char *options);
E_API void e_comp_wl_input_keyboard_event_generate(const char *key, int mods, Eina_Bool up);