From: Sung-Jin Park Date: Wed, 8 Sep 2021 04:56:19 +0000 (+0900) Subject: modality_keyboard: fix not to create MMI_PROVIDER_EVENT_KEY type newly X-Git-Tag: accepted/tizen/unified/20210914.053333~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c6048acdfbf5d5020a3e1289a1df017b45db49b;p=platform%2Fcore%2Fuifw%2Fmmi-manager.git modality_keyboard: fix not to create MMI_PROVIDER_EVENT_KEY type newly Change-Id: I89f0ecaa5ab5b9a758fe10d2ee49072bf9a6ac1b Signed-off-by: Sung-Jin Park --- diff --git a/src/modules/modality_keyboard/wayland-input.c b/src/modules/modality_keyboard/wayland-input.c index 74c09e2..54c7225 100644 --- a/src/modules/modality_keyboard/wayland-input.c +++ b/src/modules/modality_keyboard/wayland-input.c @@ -47,8 +47,6 @@ struct xkb_keymap *keymap; Ecore_Fd_Handler *fd_hdl; -int MMI_PROVIDER_EVENT_KEY = -1; - typedef struct tizen_keyrouter_notify tizen_keyrouter_notify_t; struct tizen_keyrouter_notify { @@ -291,6 +289,8 @@ _input_add_key_event(unsigned int keycode, unsigned int state, unsigned int time } else LOGD("No matched keyname from keycode = %d\n", keycode); + + LOGI("MMI_PROVIDER_EVENT_KEY has been added !\n"); } static void @@ -607,27 +607,15 @@ void _keymap_shutdown(void) if(keymap) xkb_map_unref(keymap); } -void _input_event_init(void) -{ - MMI_PROVIDER_EVENT_KEY = ecore_event_type_new(); -} - -void _input_event_shutdown(void) -{ - MMI_PROVIDER_EVENT_KEY = -1; -} - void wayland_input_init(void) { - _input_event_init(); _wl_init(); _keygrab_init(); } void wayland_input_shutdown(void) { - _input_event_shutdown(); _wl_shutdown(); _keymap_shutdown(); _xkb_context_shutdown(); -} \ No newline at end of file +}