Add interface of e_comp_wl_input_keymap_keycode_to_keyname 60/318360/1
authorjinbong.lee <jinbong.lee@samsung.com>
Fri, 27 Sep 2024 06:01:52 +0000 (15:01 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 27 Sep 2024 07:27:51 +0000 (16:27 +0900)
  - change internal function to interface

Change-Id: I4b65fff0e9d5db4b6882c4a8903ead83b186a0e6

src/bin/server/e_comp_wl_input.c
src/bin/server/e_comp_wl_input_intern.h
src/include/e_comp_wl_input.h

index 8a7ba2d5c3e781c4099f841d4ce4ea02bffe7ff8..ef8a0074ab32519221429dfeff6bc574f80c1970 100644 (file)
@@ -2319,7 +2319,7 @@ finish:
    return 0;
 }
 
-EINTERN char *
+E_API char *
 e_comp_wl_input_keymap_keycode_to_keyname(int keycode)
 {
    struct xkb_state *state;
index ec1fbe0bc4b8f671995fccd1e112e657f34b8ec1..06eb44e002529f9c9b894a64128276f8bee3be2f 100644 (file)
@@ -29,7 +29,6 @@ EINTERN const char        *e_comp_wl_input_keymap_default_model_get(void);
 EINTERN const char        *e_comp_wl_input_keymap_default_layout_get(void);
 EINTERN const char        *e_comp_wl_input_keymap_default_variant_get(void);
 EINTERN const char        *e_comp_wl_input_keymap_default_options_get(void);
-EINTERN char              *e_comp_wl_input_keymap_keycode_to_keyname(int keycode);
 
 EINTERN void e_comp_wl_input_keymap_init(void);
 #endif
index ed4fb2e0567f04a6093dd941ecc3ae5159fc6ba7..ac8cae4272638c94fb3ea5b95c3fe5e77caa57e3 100644 (file)
@@ -16,6 +16,7 @@ E_API Eina_Bool         e_comp_wl_input_keymap_cache_file_use_get(void);
 E_API Eina_Stringshare *e_comp_wl_input_keymap_path_get(struct xkb_rule_names names);
 E_API void              e_comp_wl_input_keymap_set(const char *rules, const char *model, const char *layout, const char *variant, const char *options, struct xkb_context *dflt_ctx, struct xkb_keymap *dflt_map);
 E_API int               e_comp_wl_input_keymap_keyname_to_keycode(const char * name);
+E_API char             *e_comp_wl_input_keymap_keycode_to_keyname(int keycode);
 
 E_API void      e_comp_wl_input_keyboard_repeat_set(int delay, int rate);
 E_API Eina_Bool e_comp_wl_input_pointer_constraint_activated_get(void);