1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>WPADGetCLTriggerThreshold</title>
10</head>
11
12<body>
13
14<h1>WPADGetCLTriggerThreshold</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/wpad.h&gt;
19
20#define WPAD_CHAN0                       0
21#define WPAD_CHAN1                       1
22#define WPAD_CHAN2                       2
23#define WPAD_CHAN3                       3
24
25void WPADGetCLTriggerThreshold( s32 chan, u8 *left, u8 *right );
26</pre></dd></dl>
27
28<h2>Arguments</h2>
29<TABLE class="arguments" border="1" >
30  <TBODY>
31    <TR>
32<TH>chan</TH>
33<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
34    </TR>
35    <TR>
36<TH><STRONG><EM><CODE>left</CODE></EM></STRONG></TH>
37<TD>Pointer to the variable used to copy the lower limit when clamping the L Button of a Classic Controller.</TD>
38    </TR>
39    <TR>
40<TH>right</TH>
41<TD>Pointer to the variable used to copy the lower limit when clamping the R Button of a Classic Controller.</TD>
42    </TR>
43  </TBODY>
44</TABLE>
45
46<h2>Return Values</h2>
47<p>None.</p>
48
49<H2>Description</H2>
50<p>
51Gets the lower limit when clamping the L or R Button of a Classic Controller. Although a lower limit of <code>30</code> 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.
52</p>
53<p>
54This function is used by the <a href="./WPADClampTrigger.html"><code>WPADClampTrigger</code></a> function and can be kept for reference as an example of usage.
55</p>
56
57<h2>See Also</h2>
58<p class="reference">
59<A href="./WPADClampTrigger.html">WPADClampTrigger</a>
60</p>
61
62<H2>Revision History</H2>
63<P>
642006/08/15 Initial version.<br>
65</P>
66
67<hr><p>CONFIDENTIAL</p></body>
68</html>