Ecore_Device_Class eclas = ECORE_DEVICE_CLASS_NONE;
double eradx, erady, epressure, eangle;
+ E_Comp_Config *comp_conf = NULL;
+ pid_t pid = 0;
+
remote_surface = wl_resource_get_user_data(resource);
EINA_SAFETY_ON_NULL_RETURN(remote_surface);
EINA_SAFETY_ON_FALSE_RETURN(remote_surface->valid);
epressure = wl_fixed_to_double(pressure);
eangle = wl_fixed_to_double(angle);
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ {
+ if (event_type != TIZEN_REMOTE_SURFACE_EVENT_TYPE_MOUSE_MOVE)
+ {
+ wl_client_get_credentials(client, &pid, NULL, NULL);
+ ELOGF("TRS", "TRANSFER Mouse event [pid: %d -> pid: %d (ec: %p)] type: %d, time: %d",
+ NULL, pid, ec?ec->netwm.pid:-1, ec, event_type, time);
+ ELOGF("TRS", "\tDetail: device: %d, button: %d, x:%d, y:%d, clas: %d, identifier: %20s",
+ NULL, device, button, x, y, clas, identifier);
+ }
+ }
+
if (eclas == ECORE_DEVICE_CLASS_MOUSE)
{
switch (event_type)
Ecore_Device *edev = NULL;
Ecore_Device_Class eclas = ECORE_DEVICE_CLASS_NONE;
+ E_Comp_Config *comp_conf = NULL;
+ pid_t pid = 0;
+
remote_surface = wl_resource_get_user_data(resource);
EINA_SAFETY_ON_NULL_RETURN(remote_surface);
EINA_SAFETY_ON_FALSE_RETURN(remote_surface->valid);
}
edev = _device_get_by_identifier(identifier, eclas);
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ {
+ wl_client_get_credentials(client, &pid, NULL, NULL);
+ ELOGF("TRS", "TRANSFER Mouse wheel [pid: %d -> pid: %d (ec: %p)], time: %d",
+ NULL, pid, ec?ec->netwm.pid:-1, ec, time);
+ ELOGF("TRS", "\tDetail: direction: %d, z: %d, clas: %d, identifier: %20s)",
+ NULL, direction, z, clas, identifier);
+ }
+
e_client_mouse_wheel_send(ec, direction, z, edev, time);
}
Ecore_Device_Class eclas = ECORE_DEVICE_CLASS_NONE;
double eradx, erady, epressure, eangle;
+ E_Comp_Config *comp_conf = NULL;
+ pid_t pid = 0;
+
remote_surface = wl_resource_get_user_data(resource);
EINA_SAFETY_ON_NULL_RETURN(remote_surface);
EINA_SAFETY_ON_FALSE_RETURN(remote_surface->valid);
epressure = wl_fixed_to_double(pressure);
eangle = wl_fixed_to_double(angle);
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ {
+ if (event_type != TIZEN_REMOTE_SURFACE_EVENT_TYPE_TOUCH_MOVE)
+ {
+ wl_client_get_credentials(client, &pid, NULL, NULL);
+ ELOGF("TRS", "TRANSFER Touch event [pid: %d -> pid: %d (ec: %p)] type: %d, time: %d",
+ NULL, pid, ec?ec->netwm.pid:-1, ec, event_type, time);
+ ELOGF("TRS", "\tDetail: device: %d, button: %d, x: %d, y: %d, clas: %d, identifier: %20s",
+ NULL, device, button, x, y, clas, identifier);
+ }
+ }
+
if (eclas == ECORE_DEVICE_CLASS_TOUCH)
{
switch (event_type)
E_Comp_Wl_Remote_Surface *remote_surface;
E_Client *ec;
+ E_Comp_Config *comp_conf = NULL;
+ pid_t pid = 0;
+
remote_surface = wl_resource_get_user_data(resource);
EINA_SAFETY_ON_NULL_RETURN(remote_surface);
EINA_SAFETY_ON_FALSE_RETURN(remote_surface->valid);
ec = provider->common.ec;
if (e_object_is_del(E_OBJECT(ec))) return;
+
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ {
+ wl_client_get_credentials(client, &pid, NULL, NULL);
+ ELOGF("TRS", "TRANSFER Touch cancel [pid: %d -> pid: %d (ec: %p)]",
+ NULL, pid, ec?ec->netwm.pid:-1, ec);
+ }
+
e_client_touch_cancel_send(ec);
}
Ecore_Device *edev = NULL;
Ecore_Device_Class eclas = ECORE_DEVICE_CLASS_NONE;
+ E_Comp_Config *comp_conf = NULL;
+ pid_t pid = 0;
+
remote_surface = wl_resource_get_user_data(resource);
EINA_SAFETY_ON_NULL_RETURN(remote_surface);
EINA_SAFETY_ON_FALSE_RETURN(remote_surface->valid);
return;
}
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ {
+ wl_client_get_credentials(client, &pid, NULL, NULL);
+ ELOGF("TRS", "TRANSFER Key event [pid: %d -> pid: %d (ec: %p)] type: %d, time: %d",
+ NULL, pid, ec?ec->netwm.pid:-1, ec, event_type, time);
+ ELOGF("TRS", "\tDetail: keycode: %d, clas: %d, identifier: %20s",
+ NULL, keycode, clas, identifier);
+ }
+
/* find ecore device*/
edev = _device_get_by_identifier(identifier, eclas);