aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_comp_wl_input.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-20 12:38:22 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-01-20 17:03:17 -0500
commit40c1e796fe003dd7d364ef0ab496fcf063f64a4b (patch)
tree31ced7d8326420b035b6485a6124e469349f6899 /src/bin/e_comp_wl_input.h
parentfix compiler warning about comparison between signed and unsigned ints (diff)
downloadenlightenment-40c1e796fe003dd7d364ef0ab496fcf063f64a4b.tar.gz
add function for wayland compositors to generate (fake) keyboard events
in automated testing scenarios, being able to generate input events is useful for detecting regressions related to keyboard actions this depends on an xkbcommon function which is expected to be in the 0.6.0 release, so dlsym here in order to make that a runtime dependency for now since this is not going to be a widely-used feature #SamsungFeatures
Diffstat (limited to 'src/bin/e_comp_wl_input.h')
-rw-r--r--src/bin/e_comp_wl_input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_comp_wl_input.h b/src/bin/e_comp_wl_input.h
index f13d0a151..9691b97be 100644
--- a/src/bin/e_comp_wl_input.h
+++ b/src/bin/e_comp_wl_input.h
@@ -32,5 +32,6 @@ E_API void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled);
E_API void e_comp_wl_input_keymap_set(const char *rules, const char *model, const char *layout,
struct xkb_context *dflt_ctx, struct xkb_keymap *dflt_map);
+E_API void e_comp_wl_input_keyboard_event_generate(const char *key, int mods, Eina_Bool up);
# endif
#endif