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 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::hid::CTR::ExtraPadStatus</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/hid/Overview.html">hid</a>::<a href="../../../../nn/hid/CTR/Overview.html">CTR</a>::ExtraPadStatus</CODE> Structure</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">struct ExtraPadStatus 55{ 56<a href="../../../../nn/hid/CTR/AnalogStickStatus/Overview.html">AnalogStickStatus</a> stick; 57<a href="../../../../nn/hid/CTR/AnalogStickStatus/Overview.html">AnalogStickStatus</a> extraStick; 58<a href="../../../../nn_types/bit32.html">bit32</a> hold; 59<a href="../../../../nn_types/bit32.html">bit32</a> trigger; 60<a href="../../../../nn_types/bit32.html">bit32</a> release; 61<a href="../../../../nn_types/u8.html">u8</a> batteryLevel; 62bool isConnected; 63}; 64</pre> 65 </div> 66<h2>Description</h2> 67 <div class="section"> 68<p>Represents status and information about input from the CTR system and Circle Pad Pro.</p><!-- write here --></div> 69 <a name="variable" id="variable"> 70<h2>Member Variables</h2> 71 <div class="section"> 72 <table class="members"> 73 <tr> 74 <td width="100"> </td> 75 <th> 76<span class="argument"><CODE>stick</CODE></span> 77 </th> 78<td width="100"><a href="../../../../nn/hid/CTR/AnalogStickStatus/Overview.html"><CODE>AnalogStickStatus</CODE></a></td> 79<td>Input values from the Circle Pad on the CTR system. See <a href="../../../../nn/hid/CTR/AnalogStickStatus/Overview.html"><CODE>AnalogStickStatus</CODE></a>.</td> 80 </tr> 81 <tr> 82 <td width="100"> </td> 83 <th> 84<span class="argument"><CODE>extraStick</CODE></span> 85 </th> 86<td width="100"><a href="../../../../nn/hid/CTR/AnalogStickStatus/Overview.html"><CODE>AnalogStickStatus</CODE></a></td> 87<td>Input values from the Right Circle Pad on the Circle Pad Pro. See <a href="../../../../nn/hid/CTR/AnalogStickStatus/Overview.html"><CODE>AnalogStickStatus</CODE></a>.</td> 88 </tr> 89 <tr> 90 <td width="100"> </td> 91 <th> 92<span class="argument"><CODE>hold</CODE></span> 93 </th> 94<td width="100"><a href="../../../../nn_types/bit32.html"><CODE>bit32</CODE></a></td> 95<td>Bit array corresponding to buttons. When a button is pressed, its corresponding bit (<CODE>BUTTON_*</CODE>) is set.</td> 96 </tr> 97 <tr> 98 <td width="100"> </td> 99 <th> 100<span class="argument"><CODE>trigger</CODE></span> 101 </th> 102<td width="100"><a href="../../../../nn_types/bit32.html"><CODE>bit32</CODE></a></td> 103<td>Bit array corresponding to buttons. At the moment a button is pressed, its corresponding bit (<CODE>BUTTON_*</CODE>) is set and then cleared.</td> 104 </tr> 105 <tr> 106 <td width="100"> </td> 107 <th> 108<span class="argument"><CODE>release</CODE></span> 109 </th> 110<td width="100"><a href="../../../../nn_types/bit32.html"><CODE>bit32</CODE></a></td> 111<td>Bit array corresponding to buttons. At the moment a button is released, its corresponding bit (<CODE>BUTTON_*</CODE>) is set and then cleared.</td> 112 </tr> 113 <tr> 114 <td width="100"> </td> 115 <th> 116<span class="argument"><CODE>batteryLevel</CODE></span> 117 </th> 118<td width="100"><a href="../../../../nn_types/u8.html">u8</a></td> 119<td>Indicates the remaining battery life of the Circle Pad Pro. The value is <CODE>1</CODE> when there is sufficient remaining battery life. When the battery is almost depleted, the value becomes <CODE>0</CODE>.</td> 120 </tr> 121 <tr> 122 <td width="100"> </td> 123 <th> 124<span class="argument"><CODE>isConnected</CODE></span> 125 </th> 126<td width="100">bool</td> 127<td>Indicates the connection state of the Circle Pad Pro. Returns a value of <CODE>true</CODE> while a connection is established; otherwise returns <CODE>false</CODE>.</td> 128 </tr> </table> 129 </div> 130 </a> 131<h2>Revision History</h2> 132 <div class="section"> 133 <dl class="history"> 134 <dt>2011/10/06</dt> 135<dd>Initial version.<br /> 136 </dd> 137 </dl> 138 </div> 139 <hr><p>CONFIDENTIAL</p></body> 140</html> 141