nn::hid::CTR::GyroscopeReader::GetZeroPlayEffect Member Function

Syntax

f32 GetZeroPlayEffect() const;

Arguments

None.

Return Values

Always returns 0 if disabled. Returns 0 or greater if enabled. This value indicates the strength of correction.

Description

Gets the strength of correction applied by the zero-point play tolerance.

The function returns 0 if zero-point play tolerance is disabled.

The return value approaches zero as the current angular velocity nears the configured play-tolerance value. Zero is returned if the velocity exceeds the play tolerance range.

Revision History

2010/10/20
Initial version.

CONFIDENTIAL