switch (sensor_type)
{
case EEZE_SENSOR_TYPE_ACCELEROMETER:
- ecore_event_add(EEZE_SENSOR_EVENT_ACCELEROMETER, obj, NULL, NULL);
case EEZE_SENSOR_TYPE_MAGNETIC:
case EEZE_SENSOR_TYPE_ORIENTATION:
case EEZE_SENSOR_TYPE_GYROSCOPE:
obj->data[2] = 42;
gettimeofday(&tv, NULL);
obj->timestamp = ((tv.tv_sec * 1000000) + tv.tv_usec);
+ ecore_event_add(sensor_type, obj, NULL, NULL);
break;
case EEZE_SENSOR_TYPE_LIGHT:
obj->data[0] = 7;
gettimeofday(&tv, NULL);
obj->timestamp = ((tv.tv_sec * 1000000) + tv.tv_usec);
+ ecore_event_add(sensor_type, obj, NULL, NULL);
break;
default: