Home |
RTTarget-32 Programming Manual Function RTTouchToPhys System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTTouchToPhysRTTouchToPhys translates the given screen coordinates to touch screen coordinates: int RTTouchToPhys(int XScreen, int YScreen, int * XPointer, int * YPointer); ParametersXScreen, YScreenCoordinates of the last left button click 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 coordinates. The function only succeeds for the screen coordinates of the last mouse/touch click 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 RTTouchCalibrate.
|