GetZeroDriftEffect

nn::hid::CTR::GyroscopeReader::GetZeroDriftEffect Member Function

Syntax

f32 GetZeroDriftEffect() const;

Parameters

None.

Return Values

Returns a negative value when disabled. Returns a value of zero or greater when enabled. This value indicates the strength of correction.

Description

Gets the strength of zero-point drift correction.

Note: The stronger the effects of correction, the closer the return value is to 1.0; but do not mistake this value for an indication that correction has completed. There are situations where a value close to 1.0 is returned even though correction is insufficient, and other cases where correction is complete even though the return value is close to 0.

Revision History

2011/09/29
Removed references to the CTR Guidelines Backgrounder.
2011/08/30
Added description of the value.
2011/05/10
Added reference to the CTR Guidelines Backgrounder for details about zero-point drift.
2010/10/20
Initial version.

CONFIDENTIAL