Lines Matching defs:xv
53 static int getValuatorEvents(DeviceEvent *ev, deviceValuator *xv);
357 getValuatorEvents(DeviceEvent *ev, deviceValuator *xv)
374 for (i = 0; i < num_valuators; i += 6, xv++) {
375 INT32 *valuators = &xv->valuator0; // Treat all 6 vals as an array
378 xv->type = DeviceValuator;
379 xv->first_valuator = first_valuator + i;
380 xv->num_valuators = ((num_valuators - i) > 6) ? 6 : (num_valuators - i);
381 xv->deviceid = ev->deviceid;
382 xv->device_state = state;
386 for (j = 0; j < xv->num_valuators; j++)
387 valuators[j] = ev->valuators.data[xv->first_valuator + j];
390 xv->deviceid |= MORE_EVENTS;