nn::hid::CTR::AccelerometerReader::SetOffsetFromBaseStatus Member Function

Syntax

void SetOffsetFromBaseStatus(
     AccelerometerStatus baseAccelerometerStatus
);

Arguments

Name Description
in baseAccelerometerStatus The value representing the accelerometer in the level, horizontal state.

Return Values

None.

Description

Sets the offset value for the accelerometer.

When offset is enabled, the offset is subtracted from the sampling data when the accelerometer has the value specified here, which is treated as the time when the accelerometer is positioned horizontal.


CONFIDENTIAL