#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 WPAD_CHANn values. |
|
Pointer to the variable used to copy the lower limit when clamping the L trigger of a classic controller unit. |
right |
Pointer to the variable used to copy the lower limit when clamping the R trigger of a classic controller unit. |
None.
Gets the lower limit when clamping the L or R trigger of a classic controller unit. Although a lower limit of 30 is assumed when clamping the L or R trigger values of a 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 unit has changed.
This function is used by the WPADClampTrigger function and can be kept for reference as an example of usage.
WPAD Functions
WPADClampTrigger
08/15/2006 Initial version.
CONFIDENTIAL