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>EnableSelectButton</title>
8  </head>
9  <body>
10<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>::EnableSelectButton</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14bool EnableSelectButton();
15</pre>
16    </div>
17<h2>Parameters</h2>
18    <div class="section">
19<p>None.</p>
20    </div>
21<h2>Return Values</h2>
22<div class="section">Returns the function's execution result.<br /> <br />
23      <table class="arguments">
24        <thead>
25          <tr>
26<th>Value</th>
27<td>Description</td>
28          </tr>
29        </thead>
30        <tr>
31<th><CODE>true</CODE></th>
32<td>Mode change was successful.</td>
33        </tr>
34        <tr>
35<th><CODE>false</CODE></th>
36<td>Failed because Debug mode was not enabled.</td>
37        </tr>
38      </table> </div>
39<h2>Description</h2>
40    <div class="section">
41<p>Enables sampling of the SELECT Button. This feature is only available if Debug mode has been enabled from the Config tool.</p><p>
42After calling this function, SELECT Button input can be obtained from the values retrieved by the <CODE><a href="../../../nn/hid/CTR/PadReader/Read.html">nn::hid::CTR::PadReader::Read</a></CODE> and <CODE><a href="../../../nn/hid/CTR/PadReader/ReadLatest.html">nn::hid::CTR::PadReader::ReadLatest</a></CODE> functions.
43            </p></div>
44<h2>Revision History</h2>
45    <div class="section">
46      <dl class="history">
47        <dt>2011/03/28</dt>
48<dd>Initial version.<br />
49        </dd>
50      </dl>
51    </div>
52  <hr><p>CONFIDENTIAL</p></body>
53</html>
54