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	<TITLE>WPAD Demos</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10
11<H1>Standard Controller (WPAD) Sample Demos</H1>
12
13<H2>Location</H2>
14<P><FONT face="Courier New">$REVOLUTION_SDK_ROOT/build/demos/wpaddemo</FONT></P>
15<H2>Compilation</H2>
16<P>Go to the directory <code>$REVOLUTION_SDK_ROOT/build/demos/wpaddemo</code> and type <code>make</code>. An executable file (<code>*.elf</code> file) will be generated under the path <code>$REVOLUTION_SDK_ROOT/RVL/bin/demos/wpaddemo/</code>.</P>
17
18<H2>Execution</H2>
19<P>Move to the <code>$REVOLUTION_SDK_ROOT/RVL/bin/demos/wpaddemo/</code> directory and perform the following steps:</P>
20<ul>
21<li>To execute a program, run the <code>ndrun</code> script with the <code>.elf</code> file as the argument.</li>
22<li>To debug using CodeWarrior, do one of the following:</li>
23<ul>
24<li>�uExecute <code>$CWFOLDER/bin/IDE.exe</code> with the <code>.elf</code> file as an argument.</li>
25<li>�uLaunch <code>$CWFOLDER/bin/IDE.exe</code>, then drag and drop the <code>.elf</code> file.</li>
26<li>If the <code>.elf</code> files are associated with <code>$CWFOLDER/bin/IDE.exe</code>, double-click the <code>.elf</code> file.</li>
27</ul>
28
29</ul>
30
31<H2>Description</H2>
32<TABLE border="1" cellpadding="3" cellspacing="0.1">
33  <TBODY>
34    <TR>
35<TD><EM><STRONG><CODE>simple</CODE></STRONG></EM></TD>
36<TD>Displays the current status of the Wii Remote.</TD>
37    </TR>
38    <TR>
39<TD><EM><STRONG><CODE>distance</CODE></STRONG></EM></TD>
40<TD>Displays the distance in meters between the Wii Remote and the TV.</TD>
41    </TR>
42    <TR>
43<TD><EM><STRONG><CODE>pointing</CODE></STRONG></EM></TD>
44<TD>Displays the position on the TV screen where the Wii Remote is pointing.</TD>
45    </TR>
46    <TR>
47<TD><EM><STRONG><CODE>sampling</CODE></STRONG></EM></TD>
48<TD>Automatically samples the Wii Remote controller data and displays the results.</TD>
49    </TR>
50    <TR>
51<TD><EM><STRONG><CODE>sync-callback</CODE></STRONG></EM></TD>
52<TD>Registers and deletes the controller data using callback functions.</TD>
53    </TR>
54    <TR>
55<TD><EM><STRONG><CODE>handling</CODE></STRONG></EM></TD>
56<TD>Performs the controller connection/disconnection process and external extension controller insertion/removal process using callback functions.</TD>
57    </TR>
58    <TR>
59<TD><EM><STRONG><CODE>check</CODE></STRONG></EM></TD>
60<TD>Displays the number of Wii Remotes registered to the Wii console and the ID numbers of the connected Wii Remotes.</TD>
61    </TR>
62    <TR>
63      <TD><EM><STRONG><CODE>wpad_axdemo</CODE></STRONG></EM></TD>
64      <TD>Outputs audio data processed by AX  from the speaker of the Wii Remote. </TD>
65    </TR>
66    <TR>
67      <TD><EM><STRONG><CODE>wpad_seqdemo</CODE></STRONG></EM></TD>
68      <TD>Plays MIDI data using SEQ from the speaker of the Wii Remote.</TD>
69    </TR>
70    <TR>
71      <TD><EM><STRONG><CODE>wpad_spdemo</CODE></STRONG></EM></TD>
72      <TD>Plays SE using SP from the speaker of the Wii Remote.</TD>
73    </TR>
74
75<!--     <TR>       <TD><EM><STRONG><CODE>simple_fs</CODE></STRONG></EM></TD>       <TD>�k���`���N�R���g���[��(�܂���Wii�����R��)�̌��݂̃X�e�[�^�X��\�����܂��B�R���g���[���̃^�C�v���肵�A�f�[�^�̉��߂��I�ɕύX������@�������܂��B�O���g���R���g���[��(����)�Ƃ̊����}���ɑΏ������R�[�h�̋L�q���@�������܂��B</TD>     </TR>  -->
76  </TBODY>
77</TABLE>
78
79<H2>See Also</H2>
80<P><A href="../toc.html" target="contents"><CODE>WPAD Functions</CODE></A></P>
81
82<H2>Revision History</H2>
83<P>
8408/07/2006 Added the demos wpad_seqdemo and wpad_spdemo.<br> 07/19/2006 Added the demo wpad_axdemo.<br> 06/19/2006 Overall revision reflecting support for wireless communication. 03/01/2006 Initial version.
85</P>
86
87<hr>
88<P>CONFIDENTIAL</p>
89</BODY>
90</HTML>
91