nn::hid::CTR::ExtraPadReader::SetStickClamp Member Function| Name | Description | |
|---|---|---|
| in | min | Lower limit for clamping. This has a default value of MIN_OF_STICK_CLAMP_MODE_CIRCLE for circular clamping and MIN_OF_STICK_CLAMP_MODE_CROSS for cross-shaped clamping. |
| in | max | Upper limit for clamping. This has a default value of LIMIT_OF_STICK_CLAMP_MAX. |
Sets the clamp values for the CTR system Circle Pad.
Specify a value less than or equal to LIMIT_OF_STICK_CLAMP_MAX for max. The values that can be specified for min depend on the clamp mode that was set by the SetStickClampMode function.
With circular clamping, you can specify a value of MIN_OF_STICK_CLAMP_MODE_CIRCLE or greater. With cross-shaped clamping, you can specify a value of MIN_OF_STICK_CLAMP_MODE_CROSS or greater. With minimal clamping, the value of min is fixed at MIN_OF_STICK_CLAMP_MODE_CIRCLE; any other setting is ignored. If a value that exceeds one of these limits is specified, it is clamped to the limit before being applied. The values for max and min are managed separately for each clamp mode.
CONFIDENTIAL