e_input: add detail log in adding input device 99/297599/1 accepted/tizen/unified/20230822.162239
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 21 Aug 2023 09:33:06 +0000 (18:33 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 21 Aug 2023 10:27:46 +0000 (19:27 +0900)
Change-Id: Idb8a6039b267cd72322b6814aff3a5e67a210647
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/bin/e_input_inputs.c

index 579fc97..b9ed5a1 100644 (file)
@@ -221,6 +221,7 @@ _e_input_add_ecore_device(E_Input_Evdev *edev, Ecore_Device_Class clas)
              if (!identifier) continue;
              if ((ecore_device_class_get(dev) == clas) && (!strcmp(identifier, edev->path)))
                {
+                  ERR("Found same device in device list");
                   ecore_thread_main_loop_end();
                   return EINA_FALSE;
                }
@@ -231,6 +232,7 @@ _e_input_add_ecore_device(E_Input_Evdev *edev, Ecore_Device_Class clas)
    dev = ecore_device_add();
    if (!dev)
      {
+        ERR("Failed to create ecore device");
         edev->ecore_dev = NULL;
         ecore_thread_main_loop_end();
         return EINA_FALSE;
@@ -285,6 +287,7 @@ _e_input_add_ecore_device(E_Input_Evdev *edev, Ecore_Device_Class clas)
         e_dev = e_device_new();
         if (!e_dev)
           {
+             ERR("Failed to add e device");
              edev->e_dev = NULL;
              ecore_thread_main_loop_end();
              return EINA_FALSE;