#include <revolution/wpad.h> #define WPAD_CHAN0 0 #define WPAD_CHAN1 1 #define WPAD_CHAN2 2 #define WPAD_CHAN3 3 void WPADGetCLTriggerThreshold( s32 chan, u8 *left, u8 *right );
| chan | One of the WPAD_CHANn values. |
|---|---|
left |
Pointer to the variable used to copy the lower limit when clamping the L Button of a Classic Controller. |
| right | Pointer to the variable used to copy the lower limit when clamping the R Button of a Classic Controller. |
None.
Gets the lower limit when clamping the L or R Button of a Classic Controller. Although a lower limit of 30 is assumed when clamping the L or R Button values of a Nintendo GameCube standard controller, more accurate clamping is possible using the value obtained with this function due to the fact that the hardware configuration of the Classic Controller has changed.
This function is used by the WPADClampTrigger function and can be kept for reference as an example of usage.
2006/08/15 Initial version.
CONFIDENTIAL