SetNormalizeStickScaleSettings

nn::hid::CTR::ExtraPadReader::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 settings for the NormalizeStickWithScale function.

The application behaves as if the movable range of the CTR system Circle Pad were multiplied by scale. When the Circle Pad value is less than threshold, the normalized value obtained with the NormalizeStickWithScale function is 1/scale. When the Circle Pad value is threshold or greater, the normalized value obtained with the NormalizeStickWithScale function gradually approaches ±1.0. Set a value less than or equal to LIMIT_OF_STICK_CLAMP_MAX for threshold.

Revision History

2011/10/06
Initial version.

CONFIDENTIAL