nn::hid::CTR::PadReader::NormalizeStickWithScale Member Function
void NormalizeStickWithScale(
f32 * normalized_x,
f32 * normalized_y,
s16 x,
s16 y
);
| Name | Description | |
|---|---|---|
| out | normalized_x | Normalized x. |
| out | normalized_y | Normalized y. |
| in | x | Not-yet-normalized x. |
| in | y | Not-yet-normalized y. |
Normalizes the Slide Pad values obtained by the Read and ReadLatest functions to floating-point values in the range [-1.0, 1.0]. Includes a sensitivity correction feature.
Includes special internal processing to adjust sensitivity. For details, refer to the description of SetNormalizeStickScaleSettings.
CONFIDENTIAL