VPADSetGyroDirReviseBase

Syntax

#include <cafe/vpad.h>

void VPADSetGyroDirReviseBase( s32 chan, VPADDir *base );

Parameters

chan Controller number. 0 for DRC1 and 1 for DRC2.
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 DRC. If attitude correction is enabled, the attitude is corrected so that it does not drift significantly from the configured base attitude, even if the controller is waved around. The direction facing the TV straight on is used as the default base attitude.

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.

Revision History

2013/05/08 Automated cleanup pass.
2011/03/30 Initial version.


CONFIDENTIAL