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

Syntax

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

Arguments

Name Description
in pitch The scaling to apply when calculating angular speed in the pitch direction.
in yaw The scaling to apply when calculating angular speed in the yaw direction.
in roll The scaling to apply when calculating angular speed in the roll direction.

Return Values

None.

Description

Sets the scaling to be applied in each direction when calculating angular speed.


CONFIDENTIAL