if (!e_comp_wl_input_touch_check(res)) continue;
if (comp_conf && comp_conf->input_log_enable)
- INF("[Server] Touch Cancel (win:%08zx, name:%20s)\n", e_client_util_win_get(ec), e_client_util_name_get(ec));
+ ELOGF("Touch", "Cancel name:%20s", ec, e_client_util_name_get(ec));
wl_touch_send_cancel(res);
}
if (pressed)
{
if (comp_conf && comp_conf->input_log_enable)
- INF("[Server] Touch Down (id: %d, time: %d, x:%d, y:%d, win:0x%08zx, name:%20s)\n", idx, timestamp, canvas_x - ec->client.x, canvas_y - ec->client.y, e_client_util_win_get(ec), e_client_util_name_get(ec));
+ ELOGF("Touch", "Down (id: %d, time: %d, x:%d, y:%d, name:%20s)", ec, idx, timestamp, canvas_x - ec->client.x, canvas_y - ec->client.y, e_client_util_name_get(ec));
wl_touch_send_down(res, serial, timestamp, ec->comp_data->surface, idx, x, y); //id 0 for the 1st finger
}
else
{
if (comp_conf && comp_conf->input_log_enable)
- INF("[Server] Touch Up (id: %d, time: %d, x:%d, y:%d, win:0x%08zx, name:%20s)\n", idx, timestamp, canvas_x - ec->client.x, canvas_y - ec->client.y, e_client_util_win_get(ec), e_client_util_name_get(ec));
+ ELOGF("Touch", "Up (id: %d, time: %d, x:%d, y:%d, name:%20s)\n", ec, idx, timestamp, canvas_x - ec->client.x, canvas_y - ec->client.y, e_client_util_name_get(ec));
wl_touch_send_up(res, serial, timestamp, idx);
}
_e_comp_wl_send_event_device(wc, ev->timestamp, ev->dev, serial);
if (comp_conf && comp_conf->input_log_enable)
- INF("[Server] Key %s (time: %d)\n", (state ? "Down" : "Up"), ev->timestamp);
+ ELOGF("Key", "Send Key %s (time: %d)", ec, (state ? "Down" : "Up"), ev->timestamp);
wl_keyboard_send_key(res, serial, ev->timestamp,
keycode, state);
TRACE_INPUT_BEGIN(e_comp_wl_evas_handle_mouse_button);
if (comp_conf && comp_conf->input_log_enable)
- INF("[Server] Mouse Button %s (btn: %d, time: %d)\n", (state ? "Down" : "Up"), btn, timestamp);
+ ELOGF("Mouse", "Button %s (btn: %d, time: %d)", ec, (state ? "Down" : "Up"), btn, timestamp);
wl_pointer_send_button(res, serial, timestamp, btn, state);
TRACE_INPUT_END();
else _e_comp_wl_device_send_last_event_device(ec, ECORE_DEVICE_CLASS_KEYBOARD, time);
if (comp_conf && comp_conf->input_log_enable)
- INF("[Server] Key %s (time: %d)\n", (state ? "Down" : "Up"), time);
+ ELOGF("Key", "Send Key %s (time: %d)", ec, (state ? "Down" : "Up"), time);
wl_keyboard_send_key(res, serial, time,
wl_keycode, state);
{
if (on == serial_trace_debug) return;
serial_trace_debug = on;
- INF("POSSIZE |\t\tserial trace_debug %s", on?"ON":"OFF");
+ ELOGF("POSSIZE", "serial trace_debug %s", NULL, (on ? "ON" : "OFF"));
}
static void
ec->surface_sync.serial = serial;
if (serial_trace_debug)
- INF("POSSIZE |win:0x%08zx|ec:%8p|Update serial(%u) wl_buffer(%u)", e_client_util_win_get(ec), ec, serial, wl_resource_get_id(buffer->resource));
+ ELOGF("POSSIZE", "Update serial(%u) wl_buffer(%u)", ec, serial, wl_resource_get_id(buffer->resource));
}
EINTERN Eina_Bool