SetNormalizeStickScaleSettings

nn::hid::CTR::PadReader::SetNormalizeStickScaleSettings Member Function

Syntax

void SetNormalizeStickScaleSettings(
     f32 scale,
     s16 threshold
);

Parameters

Name Description
in scale Sensitivity adjustment parameter (default is 1.5).
in threshold Internal processing threshold (default is 141).

Return Values

None.

Description

Configures the NormalizeStickWithScale settings.

Behaves as if the movable range of the Circle Pad were multiplied by scale. When the Circle Pad value is less than threshold, the normalized value obtained by calling NormalizeStickWithScale is 1/scale. When the Circle Pad value is at least threshold, the normalized value obtained by calling NormalizeStickWithScale gradually approaches ±1.0. Specify a threshold value no greater than nn::hid::CTR::LIMIT_OF_STICK_CLAMP_MAX.

Revision History

2011/10/09
Revised Japanese terminology for the Circle Pad.
2010/10/15
Initial version.

CONFIDENTIAL