#include "e.h"
-#include <Ecore_Drm.h>
E_API int
e_mouse_update(void)
{
- if (strstr(ecore_evas_engine_name_get(e_comp->ee), "drm"))
- {
- const Eina_List *list, *l;
- Ecore_Drm_Device *dev;
+ const Eina_List *list, *l;
+ E_Input_Device *dev;
- list = ecore_drm_devices_get();
- EINA_LIST_FOREACH(list, l, dev)
- {
- ecore_drm_device_pointer_left_handed_set(dev, (Eina_Bool)!e_config->mouse_hand);
- }
+ list = e_input_devices_get();
+ EINA_LIST_FOREACH(list, l, dev)
+ {
+ e_input_device_pointer_left_handed_set(dev, (Eina_Bool)!e_config->mouse_hand);
}
+
return 1;
}