KPADSetMplsDirReviseBase

Syntax

#include <cafe/pads/kpad/kpad.h>

void KPADSetMplsDirReviseBase( s32 chan, KPADMPDir *base );

Parameters

chan One of the WPAD_CHANn values.
base Base attitude to use for attitude correction.

Return Values

None.

Description

Configures the base attitude to use when using attitude correction with the specified channel's Wii MotionPlus. If attitude correction is enabled, the attitude is corrected so that it does not drift significantly from the base attitude configured, even if the controller is arbitrarily moved around. The direction that faces the TV 'straight on' is used as the default base attitude.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

Revision History

2013/05/08 Automated cleanup pass.
2008/12/04 Initial version.


CONFIDENTIAL