Home |
Function USBTouchToPhys |
Function USBTouchToPhysUSBTouchToPhys translates the given screen coordinates to touch screen coordinates: int USBTouchToPhys(int XScreen, int YScreen, int * XPointer, int * YPointer); ParametersXScreen, YScreenCoordinates of the last touch event in screen coordinates to be translated. XPointer, YPointerPointers to integers to receive the translated coordinates. return valueIf the function succeeds, the return value is non-zero and *XPointer and *YPointer will have the physical touch coordinates. The function only succeeds for the screen coordinates of the last touch event. The returned values are the raw coordinates sent from the touch device. This function is required for run-time calibration of a touch screen using function USBTouchCalibrate.
|