nn::hid::CTR::GyroscopeReader::SetAngle Member Function

Syntax

void SetAngle(
     f32 ax,
     f32 ay,
     f32 az
);

Arguments

Name Description
in ax Angle about the pitch axis. A value of 1.0 indicates a 360-degree angle.
in ay Angle about the yaw axis. A value of 1.0 indicates a 360-degree angle.
in az Angle about the roll axis. A value of 1.0 indicates a 360-degree angle.

Return Values

None.

Description

Uses arbitrary values to reset angle in the GyroscopeStatus structure, which is obtained by the Read function.


CONFIDENTIAL