TP_GetUnCalibratedPoint


C Specification

#include <nitro/gx/gx_bgcnt.h>
void TP_GetUnCalibratedPoint( u16 * raw_x,
                                  u16 * raw_y,
                                  u16 dx,
                                  u16 dy );

Description

This function uses the calibration values that were set by TP_SetCalibrateParam to inverse-transform from screen coordinates to raw touch panel values.

If no calibration parameters are set, screen coordinates are output unchanged.

Arguments

raw_x, raw_y Pointer used for acquiring touch panel value results
dx, dy Screen coordinates

Return Values

None

See Also

TP_SetCalibrateParam, TP_GetCalibratedPoint

Revision History

04/16/2004 Initial version