nn::hid::CTR::GyroscopeReader::SetAngle Member Function
void SetAngle(
f32 ax,
f32 ay,
f32 az
);
| 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. |
Uses arbitrary values to reset angle in the GyroscopeStatus structure, which is obtained by the Read function.
CONFIDENTIAL