1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50<title>nn::hid::CTR::DebugPadStatus</title>
51  </head>
52  <body>
53<h1><CODE>nn::hid::CTR::DebugPadStatus</CODE> Structure</h1>
54<h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">struct DebugPadStatus
57{
58   bit16 hold;
59   bit16 trigger;
60   bit16 release;
61   f32 leftStickX;
62   f32 leftStickY;
63   f32 rightStickX;
64   f32 rightStickY;
65};
66</pre>
67    </div>
68<h2>Description</h2>
69    <div class="section">
70<p>Structure used to store sampling data from the buttons and Circle Pad on the debug pad.</p><!-- write here --></div>
71    <a name="variable" id="variable">
72<h2>Member Variables</h2>
73      <div class="section">
74        <table class="members">
75          <tr>
76            <td width="100"> </td>
77            <th>
78<span class="argument">hold</span>
79            </th>
80<td>Bits (<CODE>DEBUG_PAD_*</CODE>) indicating buttons that are held down.</td>
81          </tr>
82          <tr>
83            <td width="100"> </td>
84            <th>
85<span class="argument">trigger</span>
86            </th>
87<td>Bits (<CODE>DEBUG_PAD_*</CODE>) indicating buttons that were just pressed.</td>
88          </tr>
89          <tr>
90            <td width="100"> </td>
91            <th>
92<span class="argument">release</span>
93            </th>
94<td>Bits (<CODE>DEBUG_PAD_*</CODE>) indicating buttons that were just released.</td>
95          </tr>
96          <tr>
97            <td width="100"> </td>
98            <th>
99<span class="argument">leftStickX</span>
100            </th>
101<td>X-axis of the left stick (<CODE>-1.0f</CODE> to <CODE>1.0f</CODE>)</td>
102          </tr>
103          <tr>
104            <td width="100"> </td>
105            <th>
106<span class="argument">leftStickY</span>
107            </th>
108<td>Y-axis of the left stick (<CODE>-1.0f</CODE> to <CODE>1.0f</CODE>)</td>
109          </tr>
110          <tr>
111            <td width="100"> </td>
112            <th>
113<span class="argument">rightStickX</span>
114            </th>
115<td>X-axis of the right stick (<CODE>-1.0f</CODE> to <CODE>1.0f</CODE>)</td>
116          </tr>
117          <tr>
118            <td width="100"> </td>
119            <th>
120<span class="argument">rightStickY</span>
121            </th>
122<td>Y-axis of the right stick (<CODE>-1.0f</CODE> to <CODE>1.0f</CODE>)</td>
123          </tr> </table>
124      </div>
125    </a>
126<h2>Revision History</h2>
127    <div class="section">
128      <dl class="history">
129        <dt>2010/06/14</dt>
130<dd>Initial version.<br />
131        </dd>
132      </dl>
133    </div>
134  <hr><p>CONFIDENTIAL</p></body>
135</html>