1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
7<title>KPADSetHoriPlayMode</title>
8</head>
9
10<body>
11
12
13
14<h1>KPADSetHoriPlayMode</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/kpad.h&gt;</code></pre>
21  </dd>
22<dd><pre><code>typedef enum KPADPlayMode {
23KPAD_PLAY_MODE_LOOSE = 0,
24KPAD_PLAY_MODE_TIGHT
25} KPADPlayMode ;</code></pre>
26  </dd>
27<dd><pre><CODE>void KPADSetHoriPlayMode( s32 chan, KPADPlayMode mode ) ;</CODE></pre>
28  </dd>
29</dl>
30
31<h2>Arguments</h2>
32<p>
33<TABLE border="1">
34  <TBODY>
35    <TR>
36<TD><code><b><i>chan</i></b></code></TD>
37<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
38    </TR>
39    <TR>
40<TD><CODE><b><i>mode</i></b></CODE></TD>
41<TD>The play mode. One of <code>KPAD_PLAY_MODE_*</code>.</TD>
42    </TR>
43  </TBODY>
44</TABLE>
45</p>
46
47<h2>Return Values</h2>
48<p>None.</p>
49
50<H2>Description</H2>
51<p>
52Sets the play mode when the play radius has been set for the horizontal parameters.
53</p>
54<p>
55<code>KPAD_PLAY_TIGHT</code> is a newly-added calculation method. It distinguishes sharply between whether or not the values are changed based on the boundary of the play radius, and does not change the values at all within the play range. <code>KPAD_PLAY_LOOSE</code> is the traditional calculation method. Even within the play range, the values will gradually start to move as they approach the boundary of the play radius, resulting in the smooth change in values.
56
57With <code>KPAD_PLAY_LOOSE</code>, if the play radius is made too large, it will behave as though the tracking (sensitivity) has been made weaker. If you wish to avoid this, you should probably look into <CODE>KPAD_PLAY_TIGHT</CODE>.
58
59</p>
60<p>
61By default, the play mode is set to <code>KPAD_PLAY_LOOSE</code>, as has been the case up to the present.
62</p>
63
64<h2>See Also</h2>
65<p>
66<a href="./KPADGetHoriPlayMode.html"><code>KPADGetHoriPlayMode</code></a>
67</p>
68
69<H2>Revision History</H2>
70<P>
712007/07/12 Initial version. <BR>
72</P>
73
74</body>
75</html>
76