VPADGetTPCalibratedPoint

Syntax

#include <cafe/vpad.h>

void VPADGetTPCalibratedPoint( s32 chan, 
                               VPADTPData *disp, const VPADTPData *raw );

Parameters

chan Controller number. 0 for DRC1 and 1 for DRC2.
disp Pointer used for getting values that have been converted to screen coordinates (1280 × 720).
The 12 pixel border on the outer edge of the Touch Screen cannot accept input.
Any raw input to this area is clamped inside this border.
raw Pointer to the data before conversion.

Return Values

None.

Description

Uses the calibration values that were set by the VPADSetTPCalibrationParam function to convert raw touch panel values to screen coordinates (1280 × 720).

This function also copies touch and validity values.

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.
Multiple Cores Do not call this function from more than one Core.

See Also

VPADCalcTPCalibrationParam
VPADSetTPCalibrationParam
VPADGetTPCalibrationParam
VPADTPData

Revision History

2013/05/08 Automated cleanup pass.
2012/04/02 Added the description of the touch panel clamp.
2011/06/29 Added screen coordinate size.
2011/03/30 Initial version.


CONFIDENTIAL