VPADIsEnableGyroZeroPlay

Syntax

#include <cafe/vpad.h>

f32 VPADIsEnableGyroZeroPlay( 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 the current angular velocity is to the play tolerance value that has been set, the closer to zero this return value is. Zero is returned if the velocity exceeds the play tolerance range.

Description

Determines whether zero-point play tolerance is enabled for the specified channel's DRC. Returns the correction level when enabled. Zero-point play tolerance 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

VPADEnableGyroZeroPlay
VPADDisableGyroZeroPlay

Revision History

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


CONFIDENTIAL