SetAngleMagnification

nn::hid::CTR::GyroscopeReader::SetAngleMagnification Member Function

Syntax

void SetAngleMagnification(
     f32 pitch,
     f32 yaw,
     f32 roll
);

Parameters

Name Description
in pitch Scaling factor to apply when calculating angular speed around the pitch axis.
in yaw Scaling factor to apply when calculating angular speed around the yaw axis.
in roll Scaling factor to apply when calculating angular speed around the roll axis.

Return Values

None.

Description

Sets individual scaling factors to apply for each axis when calculating angular velocity.

Revision History

2010/10/20
Initial version.

CONFIDENTIAL