#include <revolution/kpad.h>
void KPADSetGCSubstickClamp ( s8 min, s8 max );
min |
Lower limit for clamp. |
max |
Upper limit for clamp. |
None.
Sets the clamp to use on C Stick data of the Nintendo GameCube standard controller. This function indicates that Nintendo GameCube standard controller C Stick data be clamped to 0.0f if the absolute value of (PADStatus::substickX, PADStatus::substickY) is less than or equal to min, and be clamped to 1.0f (or -1.0f) if the absolute value is greater than or equal to max.
After this function has been called, clamped values (which are read using the KPADRead function) will be stored for Nintendo GameCube standard controller C Stick data (KPADStatus::ex_status.gc.cstick).
03/01/2006 Initial version.
06/19/2006 Added indication that this function is not supported for UI Tool Version 4.