KPADEnableAimingMode

Syntax

#include <revolution/kpad.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 that are closest to the spot on the TV screen that is being pointed at by the Wii Remote. If this function is called when the Wii Remote is aimed at the center of the TV screen, it will return the coordinates close to (0, 0). (This is now the default.)

This function is now called automaticallly by the KPADInit function.

See Also

KPADDisableAimingMode, KPADSetSensorHeight, KPADGetProjectionPos

Revision History

2007/01/15 Revised such that the coordinate correction feature is enabled by default.
2006/09/07 Initial version.


CONFIDENTIAL