SetNormalizeExtraStickScaleSettings

nn::hid::CTR::ExtraPadReader::SetNormalizeExtraStickScaleSettings Member Function

Syntax

void SetNormalizeExtraStickScaleSettings(
     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 NormalizeExtraStickWithScale function.

The application behaves as if the movable range of the Right Circle Pad were multiplied by scale. When the Right Circle Pad value is less than threshold, the normalized value obtained with the NormalizeExtraStickWithScale function is 1/scale. When the Right Circle Pad value is threshold or greater, the normalized value obtained with the NormalizeExtraStickWithScale 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