KPADEnableAimingMode

Syntax

#include <revolution/kpadOld.h>

void KPADEnableAimingMode( s32 chan );

Arguments

chan One of the WPAD_CHANn values

Return Values

None.

Description

Instructs the KPAD library to calculate the coordinates closest to the spot on the TV screen actually being pointed at by the Wii Remote. Coordinates close to (0, 0) are returned when the Wii Remote is aimed at the center of the TV screen when this function is called.

See Also

KPADDisableAimingMode, KPADSetSensorHeight, KPADGetProjectionPos

Revision History

2006/10/25 Changed the name to KPADOld library starting with Revolution SDK 2.3.
2006/09/07 Initial version.


CONFIDENTIAL