Lines Matching full:axes
239 /* Set the data to the previous value for unset absolute axes. The values in set_valuators()
280 dce->valuators[i].min = slave->valuator->axes[i].min_value; in CreateClassesChangedEvent()
281 dce->valuators[i].max = slave->valuator->axes[i].max_value; in CreateClassesChangedEvent()
282 dce->valuators[i].resolution = slave->valuator->axes[i].resolution; in CreateClassesChangedEvent()
283 dce->valuators[i].mode = slave->valuator->axes[i].mode; in CreateClassesChangedEvent()
284 dce->valuators[i].name = slave->valuator->axes[i].label; in CreateClassesChangedEvent()
285 dce->valuators[i].scroll = slave->valuator->axes[i].scroll; in CreateClassesChangedEvent()
346 pDev->valuator->axes + 0, in updateSlaveDeviceCoords()
353 pDev->valuator->axes + 1, in updateSlaveDeviceCoords()
358 /* other axes are left as-is */ in updateSlaveDeviceCoords()
500 axes[j] : NULL; in GetMotionHistory()
573 memcpy(buff, &v->axes[i].min_value, sizeof(INT32)); in updateMotionHistory()
575 memcpy(buff, &v->axes[i].max_value, sizeof(INT32)); in updateMotionHistory()
645 axis = pDev->valuator->axes + axisNum; in clipAxis()
761 int xrange = v->axes[0].max_value - v->axes[0].min_value + 1; in scale_for_device_resolution()
762 int yrange = v->axes[1].max_value - v->axes[1].min_value + 1; in scale_for_device_resolution()
772 if (v->axes[0].resolution != 0 && v->axes[1].resolution != 0) in scale_for_device_resolution()
773 resolution_ratio = 1.0 * v->axes[0].resolution/v->axes[1].resolution; in scale_for_device_resolution()
795 v->axes[0].min_value < v->axes[0].max_value && in moveRelative()
796 v->axes[1].min_value < v->axes[1].max_value) { in moveRelative()
800 /* calc other axes, clip, drop back into valuators */ in moveRelative()
855 NULL, dev->valuator->axes + 0, in scale_from_screen()
864 NULL, dev->valuator->axes + 1, in scale_from_screen()
892 /* if we have no axes, last.valuators must be in screen coords in scale_to_desktop()
909 *screenx = rescaleValuatorAxis(x, dev->valuator->axes + 0, NULL, in scale_to_desktop()
911 *screeny = rescaleValuatorAxis(y, dev->valuator->axes + 1, NULL, in scale_to_desktop()
968 *devx = rescaleValuatorAxis(*screenx, NULL, dev->valuator->axes + 0, in positionSprite()
972 *devy = rescaleValuatorAxis(*screeny, NULL, dev->valuator->axes + 1, in positionSprite()
980 dev->valuator->axes + 0, 0, scr->width); in positionSprite()
987 dev->valuator->axes + 1, 0, scr->height); in positionSprite()
1521 if (dev->valuator->axes[axis].scroll.type == SCROLL_TYPE_NONE) in emulate_scroll_button_events()
1527 ax = &dev->valuator->axes[axis]; in emulate_scroll_button_events()
1680 adj *= pDev->valuator->axes[axis].scroll.increment; in GetPointerEvents()
1690 /* First fill out the original event set, with smooth-scrolling axes. */ in GetPointerEvents()
1698 /* Now turn the smooth-scrolling axes back into emulated button presses in GetPointerEvents()
1779 /* ignore relative axes for proximity. */ in GetProximityEvents()