#include <nitro/spi.h>
void TP_GetCalibratedPoint(
TPData* disp ,
const TPData* raw );
Uses the calibration values that were set by TP_SetCalibrateParam to convert from raw touch panel values to screen coordinates
This function also copies touch and validity values. When the touch flag of the conversion source data is OFF, the coordinates (0,0) are returned.
Also, when calibration parameters are not set, the touch panel value is output directly.
It is acceptable to pass the same pointers in the arguments disp and raw.
disp |
Pointer used for getting values that have been converted to screen coordinates |
raw |
Pointer to the data before conversion Stores uncalibrated, raw touch panel values |
None
TP_GetUnCalibratedPoint, TP_SetCalibrateParam, TPData
04/16/2004 Initial version