_e_input_ecore_device_event(dev, edev->seat ? edev->seat->name : NULL, EINA_TRUE);
- INF("device name(%s), path(%s), class(%s)", e_device_name_get(e_dev), edev->path, _e_input_ecore_device_class_to_string(clas));
+ INF("[Add Device] device name(%s), identifier(%s), class(%s)", e_device_name_get(e_dev), edev->path, _e_input_ecore_device_class_to_string(clas));
return EINA_TRUE;
}
Ecore_Device *dev = NULL, *data;
const char *identifier;
const gchar *device_identifier;
+ const char *device_remove_log = NULL;
if (!edev->path) return EINA_FALSE;
if ((e_device_class_get(device) == clas) && (!strcmp(device_identifier, edev->path)))
{
+ device_remove_log = eina_stringshare_printf("[Remove Device] device name(%s), identifier(%s), class(%s)",
+ e_device_name_get(device),
+ identifier,
+ _e_input_ecore_device_class_to_string(clas));
+
if (edev->e_dev)
{
g_object_unref(device);
}
}
+ if (device_remove_log)
+ {
+ INF("%s", device_remove_log);
+ eina_stringshare_del(device_remove_log);
+ }
+
return ret;
}