nn::hid::CTR::AccelerometerReader::EnableOffset Member Function

Syntax

void EnableOffset();

Arguments

None.

Return Values

None.

Description

Enables the accelerometer offset.

When offset is enabled, the offset values set by the SetOffset or SetOffsetFromBaseStatus functions are subtracted from the sampling data before the sampling data is output.

When both offset and axial rotation are enabled, the offset transform is performed before the rotation.

This setting is enabled by default.

Revision History

2010/10/20
Initial version.

CONFIDENTIAL