Lines Matching refs:xv
55 static int getValuatorEvents(DeviceEvent *ev, deviceValuator * xv);
411 getValuatorEvents(DeviceEvent *ev, deviceValuator * xv) in getValuatorEvents() argument
429 for (i = 0; i < num_valuators; i += 6, xv++) { in getValuatorEvents()
430 INT32 *valuators = &xv->valuator0; // Treat all 6 vals as an array in getValuatorEvents()
433 xv->type = DeviceValuator; in getValuatorEvents()
434 xv->first_valuator = first_valuator + i; in getValuatorEvents()
435 xv->num_valuators = ((num_valuators - i) > 6) ? 6 : (num_valuators - i); in getValuatorEvents()
436 xv->deviceid = ev->deviceid; in getValuatorEvents()
437 xv->device_state = state; in getValuatorEvents()
441 for (j = 0; j < xv->num_valuators; j++) in getValuatorEvents()
442 valuators[j] = ev->valuators.data[xv->first_valuator + j]; in getValuatorEvents()
445 xv->deviceid |= MORE_EVENTS; in getValuatorEvents()