#include <revolution/kpadOld.h>
void KPADSetGCTriggerClamp ( u8 min, u8 max );
min |
Lower limit for clamp. |
max |
Upper limit for clamp. |
None.
Sets the clamp to use on the L Button and R Button of the Nintendo GameCube controller. This function indicates that the Nintendo GameCube controller L Button and R Button will be clamped to 0.0f if the absolute value of (PADStatus::triggerLeft, PADStatus::triggerRight) 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 read using the KPADRead function will be stored for the Nintendo GameCube controller L Button and R Button (KPADStatus::ex_status.gc.ltrigger and KPADStatus::ex_status.gc.rtrigger).
2006/03/01 Initial version.
2006/06/19 Added indication that this function is not supported for UI Tool Version 4.
2006/10/25 Changed the name from Revolution SDK 2.3 to KPADOld library.
CONFIDENTIAL