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<title>HomeButtonState</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/applet/Overview.html">applet</a>::<a href="../../../nn/applet/CTR/Overview.html">CTR</a>::HomeButtonState</CODE> Enumerated Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum HomeButtonState;
15</pre>
16    </div>
17<h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22<th>Value</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<th><CODE>HOME_BUTTON_NONE</CODE></th>
28<td>A HOME Button press has not been detected.</td>
29        </tr>
30        <tr>
31<th><CODE>HOME_BUTTON_SINGLE_PRESSED</CODE></th>
32<td>A single HOME Button press was detected.</td>
33        </tr>
34        <tr>
35<th><CODE>HOME_BUTTON_DOUBLE_PRESSED</CODE></th>
36<td>A double HOME Button press was detected.</td>
37        </tr>
38      </table> </div>
39<h2>Description</h2>
40    <div class="section">
41<p>Enumerated type indicating the state of the HOME Button.</p><p>You can get this state with the <a href="../../../nn/applet/CTR/GetHomeButtonState.html"><CODE>GetHomeButtonState</CODE></a> function.</p><p>The state switches to <CODE>HOME_BUTTON_NONE</CODE> when you call the <a href="../../../nn/applet/CTR/ClearHomeButtonState.html"><CODE>ClearHomeButtonState</CODE></a> function.</p><P>
42<B>Note</B>:
43</P><P>
44In CTR SDK 4.0 and later versions, the <CODE>GetHomeButtonState</CODE> function no longer returns the double-click. The definition for the double-click itself remains for purposes of compatibility, but in the future it might be deleted.
45</P></div>
46<h2>Revision History</h2>
47    <div class="section">
48      <dl class="history">
49        <dt>2012/02/01</dt>
50<dd>Noted that in CTR SDK 4.0 and later versions the double-click is no longer returned.<br />
51        </dd>
52        <dt>2010/11/10</dt>
53<dd>Initial version.<br />
54        </dd>
55      </dl>
56    </div>
57  <hr><p>CONFIDENTIAL</p></body>
58</html>