E_Device *e_dev = NULL;
uint32_t timestamp = 0;
double radius_x = 1.0, radius_y = 1.0, pressure = 1.0, angle = 0.0;
+ E_Comp_Config *comp_conf = NULL;
if (!evdev) return;
if (!(input = e_input_seat_input_get(evdev->seat))) return;
ev->dev = (Eo *)g_object_ref(e_dev);
}
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ ELOGF("Touch", "Move (id: %d, x: %d, y: %d)", NULL, evdev->mt_slot, ev->x, ev->y);
+
if (!_touch_event_pending_add(evdev, ECORE_EVENT_MOUSE_MOVE, ev))
{
ELOGF("Touch", "Failed to pend event (MOVE). Call ecore_event_add immediately.", NULL);
Ecore_Event_Mouse_Button *ev;
uint32_t timestamp, button = 0;
E_Device *e_dev = NULL;
+ E_Comp_Config *comp_conf = NULL;
if (!evdev) return;
if (!(input = e_input_seat_input_get(evdev->seat))) return;
ev->dev = (Eo *)g_object_ref(e_dev);
}
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ ELOGF("Touch", "Cancel (x: %d, y: %d, timestamp: %u (current time), device: %s)", NULL,
+ ev->x, ev->y, ev->timestamp, evdev->name);
+
if (!_touch_event_pending_add(evdev, ECORE_EVENT_MOUSE_BUTTON_CANCEL, ev))
{
ELOGF("Touch", "Failed to pend event (CANCEL). Call ecore_event_add immediately.", NULL);