nn::hid::CTR::AccelerometerReader::SetAxisRotationMatrix Member Function

Syntax

void SetAxisRotationMatrix(
     const nn::math::MTX34 & mtx
);

Parameters

Name Description
in mtx Rotation matrix

Return Values

None.

Description

Specifies the rotation matrix used for axial rotation of the accelerometer's sampling data.

If you use this function to adjust the sensor toward the upper screen hinged open to a certain set angle, be aware that there may be future retail products with hinges that open to a different set angle.

Revision History

2011/06/14
Added a caution about adjusting the sensor toward the upper screen.
2010/10/20
Initial version.

CONFIDENTIAL