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
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/wpad.h&gt;
21
22#define WPAD_CHAN0               0
23#define WPAD_CHAN1               1
24#define WPAD_CHAN2               2
25#define WPAD_CHAN3               3
26
27void WPADGetCLTriggerThreshold( s32 chan, u8 *left, u8 *right );</CODE></pre>
28  </dd>
29</dl>
30
31<h2>Arguments</h2>
32<TABLE border="1">
33  <TBODY>
34    <TR>
35<TD><code><b><i>chan</i></b></code></TD>
36<TD>One of <code>WPAD_CHAN<i>n</i></code> values.</TD>
37    </TR>
38    <TR>
39<TD><code><b><i><STRONG><EM><CODE>left</CODE></EM></STRONG></i></b></code></TD>
40<TD>Pointer to the variable used to copy the lower limit when clamping the L trigger of a classic controller unit.</TD>
41    </TR>
42    <TR>
43<TD><code><b><i>right</i></b></code></TD>
44<TD>Pointer to the variable used to copy the lower limit when clamping the R trigger of a classic controller unit.</TD>
45    </TR>
46  </TBODY>
47</TABLE>
48
49<h2>Return Values</h2>
50
51<p>None.</p>
52
53<H2>Description</H2>
54<p>
55Gets the lower limit when clamping the L or R trigger of a classic controller unit. Although a lower limit of <code>30</code> 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.
56</p>
57<p>
58This 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.
59</p>
60
61<h2>See Also</h2>
62<p>
63<A href="./toc.html" target="contents"><CODE>WPAD Functions</CODE></A><br> <A href="./WPADClampTrigger.html"><code>WPADClampTrigger</code></a><br>
64</p>
65
66<H2>Revision History</H2>
67<P>
6808/15/2006 Initial version.
69</P>
70
71<hr>
72<P>CONFIDENTIAL</p>
73</BODY>
74</HTML>