From: Inhong Han Date: Mon, 4 Dec 2023 08:16:08 +0000 (+0900) Subject: Modified to ignore invalid key event X-Git-Tag: accepted/tizen/6.0/unified/20231204.154525~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8875b4ef8f00daaf9b7db00a49ec3b5b812e89d1;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wl-textinput.git Modified to ignore invalid key event Change-Id: I54ce6409f7c29299d7744cbabd3253fbaea880db --- diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 3399a7e..e360e76 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -1194,6 +1194,9 @@ _e_mod_ecore_key_down_cb(void *data, int type, void *event) if (g_disable_show_panel == EINA_TRUE) return ECORE_CALLBACK_PASS_ON; + if (ecore_device_class_get(ev->dev) == ECORE_DEVICE_CLASS_NONE) + return ECORE_CALLBACK_PASS_ON; + /* process remote controller key exceptionally */ if (((!strcmp(ev->key, "Down") || !strcmp(ev->key, "KP_Down") ||