Lines Matching refs:rescaleValuatorAxis
299 rescaleValuatorAxis(double coord, AxisInfoPtr from, AxisInfoPtr to, in rescaleValuatorAxis() function
344 pDev->last.valuators[0] = rescaleValuatorAxis(pDev->last.valuators[0], in updateSlaveDeviceCoords()
351 pDev->last.valuators[1] = rescaleValuatorAxis(pDev->last.valuators[1], in updateSlaveDeviceCoords()
468 rescaleValuatorAxis(coord, &from, to, 0, pScreen->width); in GetMotionHistory()
480 rescaleValuatorAxis(coord, &from, to, 0, pScreen->height); in GetMotionHistory()
509 coord = rescaleValuatorAxis(coord, &from, to, 0, 0); in GetMotionHistory()
854 scaled = rescaleValuatorAxis(scaled, in scale_from_screen()
863 scaled = rescaleValuatorAxis(scaled, in scale_from_screen()
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()
979 x = rescaleValuatorAxis(*screenx - scr->x, NULL, in positionSprite()
986 y = rescaleValuatorAxis(*screeny - scr->y, NULL, in positionSprite()