$REVOLUTION_SDK_ROOT/build/demos/wpaddemo
Go to the directory $REVOLUTION_SDK_ROOT/build/demos/wpaddemo and type make. An executable (*.elf) file will be generated under the path $REVOLUTION_SDK_ROOT/RVL/bin/demos/wpaddemo/.
Move to the $REVOLUTION_SDK_ROOT/RVL/bin/demos/wpaddemo/ directory and perform the following steps:
ndrun script using the .elf file as the argument.$CWFOLDER/bin/IDE.exe with the .elf file as an argument.$CWFOLDER/bin/IDE.exe, then drag and drop the .elf file..elf file is associated with $CWFOLDER/bin/IDE.exe, double-click the .elf file| wpadsample |
This sample executes basic controller processes (connect/disconnect, allow/disallow connection, vibration, memory read/write, hotswapping of external controllers, and so on) and displays controller information for the Wii Remote (buttons, acceleration, pointer, distance from the TV, and so on).
Without inserting an external extended controller, a process for virtually changing the device type is available only in the debug version.
Using the Demo: Operate using the Nintendo GameCube Controller connected to 1P.
Controls Menu:
|
||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wpad_axdemo |
Outputs audio data processed by AX from the Wii Remote speaker. Using the Demo:
|
||||||||||||||||||||||||||||
| wpad_seqdemo |
Uses SEQ to play MIDI data through the Wii Remote speaker. Using the Demo:
|
||||||||||||||||||||||||||||
| wpad_spdemo |
Uses SP to play SE (sound effects) from the Wii Remote speaker.
Using the Demo:
|
||||||||||||||||||||||||||||
| memory |
Reads and writes data to the internal memory of the Wii Remote. This demo does not display anything to the TV screen; it only performs serial output.
Using the Demo:
|
||||||||||||||||||||||||||||
| sync |
Performs both normal and simple pairing. Using the Demo: Operate using the Nintendo GameCube Controller connected to 1P.
|
||||||||||||||||||||||||||||
| dummy_checker |
Simulates change of the device type of the Wii Remote connected to 1P without actually plugging in an external extension controller. Because only a debug version of this function has been prepared, only this version works.
Using the Demo: Operate using the Nintendo GameCube Controller connected to 1P.
|
2008/08/28 Revised terminology.
2008/04/16 Deleted full_mode.
2007/07/19 Added the description for operating demos.
2007/07/11 Combined several demos into wpadsample.
2007/04/18 Added dummy_checker.
2006/09/18 Added accept.
2006/09/06 Added the config, full_mode, memory, shutdown, and sync demos.
2006/08/07 Added the wpad_seqdemo and wpad_spdemo demos.
2006/07/19 Added the wpad_axdemo demo.
2006/06/19 Overall revision reflecting support for wireless communication.
2006/03/01 Initial version.
CONFIDENTIAL