nn::hid::CTR::AccelerometerReader::SetOffset Member Function
void SetOffset(
s16 x,
s16 y,
s16 z
);
| Name | Description | |
|---|---|---|
| in | x | The x component of the offset value |
| in | y | The y component of the offset value |
| in | z | The z component of the offset value |
Specifies the offset value for the accelerometer.
When offset is enabled, the specified values are subtracted from the sampling data.
In the default setting all are 0.
CONFIDENTIAL