Modified to ignore invalid key event 36/302236/1
authorInhong Han <inhong1.han@samsung.com>
Mon, 4 Dec 2023 08:16:08 +0000 (17:16 +0900)
committerInhong Han <inhong1.han@samsung.com>
Mon, 4 Dec 2023 09:28:00 +0000 (18:28 +0900)
Change-Id: I54ce6409f7c29299d7744cbabd3253fbaea880db

src/e_mod_main.c

index 3399a7e..e360e76 100644 (file)
@@ -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") ||