VPADIsEnableGyroDirRevise

Syntax

#include <cafe/vpad.h>

f32 VPADIsEnableGyroDirRevise( s32 chan );

Parameters

chan Controller number. 0 for DRC1 and 1 for DRC2.

Return Values

Returns a negative value when disabled. Returns a value of zero or more when enabled. This value indicates the correction level. The more correction is applied to make it closer to the base attitude, the closer this value is to 1.

Description

Determines whether attitude correction is enabled for the specified channel's DRC. Returns the correction level when enabled. Attitude correction is initially disabled.

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

VPADEnableGyroDirRevise
VPADDisableGyroDirRevise

Revision History

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


CONFIDENTIAL