};
static void
-_e_devicemgr_del_device(const char *name, const char *identifier, const char *seatname, Ecore_Device_Class clas, Ecore_Device_Subclass subclas)
+_e_devicemgr_del_device(const char *name, const char *identifier, const char *seatname, Evas_Device_Class clas, Evas_Device_Subclass subclas)
{
E_Comp_Wl_Input_Device *dev;
struct wl_client *wc;
}
static void
-_e_devicemgr_add_device(const char *name, const char *identifier, const char *seatname, Ecore_Device_Class clas, Ecore_Device_Subclass subclas)
+_e_devicemgr_add_device(const char *name, const char *identifier, const char *seatname, Evas_Device_Class clas, Evas_Device_Subclass subclas)
{
E_Comp_Wl_Input_Device *dev;
struct wl_client *wc;
e_comp_wl->input_device_manager.device_list = eina_list_append(e_comp_wl->input_device_manager.device_list, dev);
- if (dev->clas == ECORE_DEVICE_CLASS_KEYBOARD)
+ if (dev->clas == EVAS_DEVICE_CLASS_KEYBOARD)
{
EINA_LIST_FOREACH(input_devmgr_data->inputgen.kbd_list, l, ddata)
{
}
}
}
- else if (dev->clas == ECORE_DEVICE_CLASS_MOUSE)
+ else if (dev->clas == EVAS_DEVICE_CLASS_MOUSE)
{
EINA_LIST_FOREACH(input_devmgr_data->inputgen.ptr_list, l, ddata)
{
}
}
}
- else if (dev->clas == ECORE_DEVICE_CLASS_TOUCH)
+ else if (dev->clas == EVAS_DEVICE_CLASS_TOUCH)
{
EINA_LIST_FOREACH(input_devmgr_data->inputgen.touch_list, l, ddata)
{
}
}
- if (dev->clas == ECORE_DEVICE_CLASS_MOUSE)
+ if (dev->clas == EVAS_DEVICE_CLASS_MOUSE)
e_comp_wl->input_device_manager.last_device_ptr = dev;
if (!e_comp_wl->input_device_manager.last_device_touch &&
- dev->clas == ECORE_DEVICE_CLASS_TOUCH)
+ dev->clas == EVAS_DEVICE_CLASS_TOUCH)
e_comp_wl->input_device_manager.last_device_touch = dev;
if (!e_comp_wl->input_device_manager.last_device_kbd &&
- dev->clas == ECORE_DEVICE_CLASS_KEYBOARD)
+ dev->clas == EVAS_DEVICE_CLASS_KEYBOARD)
e_comp_wl->input_device_manager.last_device_kbd = dev;
TRACE_INPUT_END();
_e_devicemgr_block_check_button(int type, void *event)
{
Ecore_Event_Mouse_Button *ev;
- Ecore_Device *dev;
+ Evas_Device *dev;
ev = event;
EINA_SAFETY_ON_NULL_RETURN_VAL(ev, ECORE_CALLBACK_PASS_ON);
dev = ev->dev;
EINA_SAFETY_ON_NULL_RETURN_VAL(dev, ECORE_CALLBACK_PASS_ON);
- if (ecore_device_class_get(dev) == ECORE_DEVICE_CLASS_MOUSE)
+ if (evas_device_class_get(dev) == EVAS_DEVICE_CLASS_MOUSE)
{
if (input_devmgr_data->block_devtype & TIZEN_INPUT_DEVICE_MANAGER_CLAS_MOUSE)
{
input_devmgr_data->pressed_button &= ~(1 << ev->buttons);
}
}
- else if (ecore_device_class_get(dev) == ECORE_DEVICE_CLASS_TOUCH)
+ else if (evas_device_class_get(dev) == EVAS_DEVICE_CLASS_TOUCH)
{
if (input_devmgr_data->block_devtype & TIZEN_INPUT_DEVICE_MANAGER_CLAS_TOUCHSCREEN)
{
_e_devicemgr_block_check_move(int type, void *event)
{
Ecore_Event_Mouse_Move *ev;
- Ecore_Device *dev;
+ Evas_Device *dev;
ev = event;
EINA_SAFETY_ON_NULL_RETURN_VAL(ev, ECORE_CALLBACK_PASS_ON);
dev = ev->dev;
EINA_SAFETY_ON_NULL_RETURN_VAL(dev, ECORE_CALLBACK_PASS_ON);
- if (ecore_device_class_get(dev) == ECORE_DEVICE_CLASS_MOUSE)
+ if (evas_device_class_get(dev) == EVAS_DEVICE_CLASS_MOUSE)
{
if (input_devmgr_data->block_devtype & TIZEN_INPUT_DEVICE_MANAGER_CLAS_MOUSE)
{
return ECORE_CALLBACK_DONE;
}
}
- else if (ecore_device_class_get(dev) == ECORE_DEVICE_CLASS_TOUCH)
+ else if (evas_device_class_get(dev) == EVAS_DEVICE_CLASS_TOUCH)
{
if (input_devmgr_data->block_devtype & TIZEN_INPUT_DEVICE_MANAGER_CLAS_TOUCHSCREEN)
{
if (e_devicemgr_is_detent_device(e_device_add->name))
{
e_device_add->caps &= ~E_INPUT_SEAT_POINTER;
- e_device_add->clas &= ~ECORE_DEVICE_CLASS_MOUSE;
+ e_device_add->clas &= ~EVAS_DEVICE_CLASS_MOUSE;
}
}
{
int detent;
const char *name;
- Ecore_Device *dev = NULL;
+ Evas_Device *dev = NULL;
Ecore_Event_Mouse_Wheel *ev = NULL;
EINA_SAFETY_ON_NULL_RETURN_VAL(event, ECORE_CALLBACK_PASS_ON);
EINA_SAFETY_ON_NULL_RETURN_VAL(dev, ECORE_CALLBACK_PASS_ON);
- name = ecore_device_name_get(dev);
+ name = evas_device_name_get(dev);
EINA_SAFETY_ON_NULL_RETURN_VAL(name, ECORE_CALLBACK_PASS_ON);
if (e_devicemgr_is_detent_device(name))
e->data = NULL;
e->modifiers = 0;
- e->dev = e_input_evdev_get_ecore_device(identifier, ECORE_DEVICE_CLASS_KEYBOARD);
+ e->dev = e_input_evdev_get_evas_device(identifier, EVAS_DEVICE_CLASS_KEYBOARD);
DMDBG("Generate key event: key: %s, keycode: %d, iden: %s\n", e->key, e->keycode, identifier);
e->multi.y = e->y;
e->multi.root.x = e->x;
e->multi.root.y = e->y;
- e->dev = e_input_evdev_get_ecore_device(identifier, ECORE_DEVICE_CLASS_MOUSE);
+ e->dev = e_input_evdev_get_evas_device(identifier, EVAS_DEVICE_CLASS_MOUSE);
e->buttons = buttons;
DMDBG("Generate mouse button event: button: %d (state: %d)\n", buttons, state);
e->multi.y = e->y;
e->multi.root.x = e->x;
e->multi.root.y = e->y;
- e->dev = e_input_evdev_get_ecore_device(identifier, ECORE_DEVICE_CLASS_MOUSE);
+ e->dev = e_input_evdev_get_evas_device(identifier, EVAS_DEVICE_CLASS_MOUSE);
DMDBG("Generate mouse move event: (%d, %d)\n", e->x, e->y);
e->multi.y = e->y;
e->multi.root.x = e->x;
e->multi.root.y = e->y;
- e->dev = e_input_evdev_get_ecore_device(identifier, ECORE_DEVICE_CLASS_TOUCH);
+ e->dev = e_input_evdev_get_evas_device(identifier, EVAS_DEVICE_CLASS_TOUCH);
e->buttons = 1;
DMDBG("Generate touch event: device: %d (%d, %d)\n", e->multi.device, e->x, e->y);
e->multi.y = e->y;
e->multi.root.x = e->x;
e->multi.root.y = e->y;
- e->dev = e_input_evdev_get_ecore_device(identifier, ECORE_DEVICE_CLASS_TOUCH);
+ e->dev = e_input_evdev_get_evas_device(identifier, EVAS_DEVICE_CLASS_TOUCH);
DMDBG("Generate touch move event: device: %d (%d, %d)\n", e->multi.device, e->x, e->y);