Modified to distinguish direction key and enter key into H/W key 78/312978/1
authorInhong Han <inhong1.han@samsung.com>
Tue, 18 Jun 2024 04:44:13 +0000 (13:44 +0900)
committerInhong Han <inhong1.han@samsung.com>
Tue, 18 Jun 2024 04:44:54 +0000 (13:44 +0900)
Change-Id: Ie81a74066b5e0d0686787277db089f29b7c6a2d2

src/e_mod_main.c

index ce82f1c2237919abef85d2bf3082f82c156f9348..64a09b820971f85e09bcd7f9d33c201602fb7ac7 100644 (file)
@@ -1157,12 +1157,7 @@ _e_mod_ecore_key_down_cb(void *data, int type, void *event)
         !strcmp(ev->key, "KP_Left")) && !ev->string)
      return ECORE_CALLBACK_PASS_ON;
 
-   if (!strcmp(ev->key, "Down") ||
-       !strcmp(ev->key, "Up") ||
-       !strcmp(ev->key, "Right") ||
-       !strcmp(ev->key, "Left") ||
-       !strcmp(ev->key, "Return") ||
-       !strcmp(ev->key, "Pause") ||
+   if (!strcmp(ev->key, "Pause") ||
        !strcmp(ev->key, "NoSymbol") ||
        !strncmp(ev->key, XF86_key, strlen(XF86_key)) ||
        !strcmp(ev->key, "Cancel"))