e->multi.root.x = e->x;
e->multi.root.y = e->y;
- ecore_thread_main_loop_begin();
e->dev = ecore_device_ref(e_input_evdev_ecore_device_get(identifier, ECORE_DEVICE_CLASS_MOUSE));
e->buttons = buttons;
else
ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_UP, e, _e_devicemgr_inputgen_mouse_button_event_free, NULL);
- ecore_thread_main_loop_end();
-
return TIZEN_INPUT_DEVICE_MANAGER_ERROR_NONE;
}
e->multi.root.x = e->x;
e->multi.root.y = e->y;
- ecore_thread_main_loop_begin();
e->dev = ecore_device_ref(e_input_evdev_ecore_device_get(identifier, ECORE_DEVICE_CLASS_MOUSE));
DMDBG("Generate mouse move event: (%d, %d)\n", e->x, e->y);
ecore_event_add(ECORE_EVENT_MOUSE_MOVE, e, _e_devicemgr_inputgen_mouse_move_event_free, NULL);
- ecore_thread_main_loop_end();
return TIZEN_INPUT_DEVICE_MANAGER_ERROR_NONE;
}
e->direction = 1;
e->z = value;
- ecore_thread_main_loop_begin();
-
if (device)
{
if (!e_devicemgr_detent_is_detent(device->name))
ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, e, _e_devicemgr_inputgen_mouse_wheel_event_free, NULL);
- ecore_thread_main_loop_end();
-
return TIZEN_INPUT_DEVICE_MANAGER_ERROR_NONE;
}
e->multi.root.x = e->x;
e->multi.root.y = e->y;
- ecore_thread_main_loop_begin();
e->dev = ecore_device_ref(e_input_evdev_ecore_device_get(device?device->identifier:NULL, ECORE_DEVICE_CLASS_TOUCH));
e->buttons = 1;
else
ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_UP, e, _e_devicemgr_inputgen_mouse_button_event_free, NULL);
- ecore_thread_main_loop_end();
-
return TIZEN_INPUT_DEVICE_MANAGER_ERROR_NONE;
}
e->multi.root.x = e->x;
e->multi.root.y = e->y;
- ecore_thread_main_loop_begin();
-
e->dev = ecore_device_ref(e_input_evdev_ecore_device_get(device?device->identifier:NULL, ECORE_DEVICE_CLASS_TOUCH));
DMDBG("Generate touch move event: device: %d (%d, %d)\n", e->multi.device, e->x, e->y);
ecore_event_add(ECORE_EVENT_MOUSE_MOVE, e, _e_devicemgr_inputgen_mouse_move_event_free, NULL);
- ecore_thread_main_loop_end();
return TIZEN_INPUT_DEVICE_MANAGER_ERROR_NONE;
}