Lines Matching defs:xv
55 static int getValuatorEvents(DeviceEvent *ev, deviceValuator * xv);
433 getValuatorEvents(DeviceEvent *ev, deviceValuator * xv)
451 for (i = 0; i < num_valuators; i += 6, xv++) {
452 INT32 *valuators = &xv->valuator0; // Treat all 6 vals as an array
455 xv->type = DeviceValuator;
456 xv->first_valuator = first_valuator + i;
457 xv->num_valuators = ((num_valuators - i) > 6) ? 6 : (num_valuators - i);
458 xv->deviceid = ev->deviceid;
459 xv->device_state = state;
463 for (j = 0; j < xv->num_valuators; j++)
464 valuators[j] = ev->valuators.data[xv->first_valuator + j];
467 xv->deviceid |= MORE_EVENTS;