VPADIsEnableGyroAccRevise

Syntax

#include <cafe/vpad.h>

f32 VPADIsEnableGyroAccRevise( 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 closer this value is to 1, the more correction is applied so that the direction of the DRC is made to approach the direction of acceleration.

Description

Determines whether acceleration correction is enabled for the specified channel's DRC. Returns the correction level when enabled. Acceleration correction is initially enabled.

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

VPADEnableGyroAccRevise
VPADDisableGyroAccRevise

Revision History

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


CONFIDENTIAL