{
if (wl_resource_get_client(dev_res) != wc) continue;
tizen_input_device_send_axis(dev_res, TIZEN_INPUT_DEVICE_AXIS_TYPE_DETENT, f_value);
+
+ DMINF("DETENT : %d => E_Client: %p (pid: %d) (pname: %s)",
+ detent, ec, ec->netwm.pid, e_client_util_name_get(ec));
}
}
}
enum libinput_pointer_axis axis;
Ecore_Device *ecore_dev = NULL, *detent_data = NULL, *data;
Eina_List *l;
+ E_Comp_Config *comp_conf = NULL;
if (!(edev = libinput_device_get_user_data(device)))
{
ev->z = libinput_event_pointer_get_axis_value(event, axis);
}
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ {
+ if (detent_data)
+ ELOGF("Mouse", "Detent (direction: %d, value: %d)", NULL, ev->direction, ev->z);
+ else
+ ELOGF("Mouse", "Wheel (direction: %d, value: %d)", NULL, ev->direction, ev->z);
+ }
+
ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, _e_input_event_mouse_wheel_cb_free, NULL);
}
Ecore_Axis *axis;
Ecore_Device *ecore_dev = NULL, *data;
Eina_List *l;
+ E_Comp_Config *comp_conf;
if (libinput_event_touch_aux_data_get_type(event) != LIBINPUT_TOUCH_AUX_DATA_TYPE_PALM &&
libinput_event_touch_aux_data_get_value(event) > 0)
ev->axis = axis;
ev->dev = ecore_device_ref(ecore_dev);
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ ELOGF("Touch", "Axis (label: %d, value: %lf)", NULL, axis->label, axis->value);
+
ecore_event_add(ECORE_EVENT_AXIS_UPDATE, ev, _e_input_aux_data_event_free, NULL);
end: