$REVOLUTION_SDK_ROOT/build/demos/paddemo
Navigate to the $REVOLUTION_SDK_ROOT/build/demos/paddemo directory and enter "make". An executable (.elf) file will be generated under the path $REVOLUTION_SDK_ROOT/RVL/bin/demos/paddemo/.
Navigate to the $REVOLUTION_SDK_ROOT/RVL/bin/demos/paddemo/ 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 fileNote: These sample demos demonstrate use of the Nintendo GameCube Controller library (the PAD library). To verify the operation of these demos, you must insert a Nintendo GameCube Controller into the Controller Socket.
| basic | Displays the current status of all Nintendo GameCube Controllers inserted in the Controller Sockets. The program detects and recovers from error conditions. |
|---|---|
| cont | Shows how to use Controller utility functions, such as button auto-repeat and automatic reset. |
| motor | Shows how to adjust rumble motor strength. |
| sampling | Shows how to use the PADSetSamplingCallback function. |
| clamp2 | Shows how to use the clamping functions PADClamp2, PADClampCircle2. and PADClampTrigger. |
2007/05/09 Deleted the simple demo from the sample demos. The demo was deleted because the code did not conform to the guidelines and because the relevant content is already included in the basic demo.
2006/09/07 Added clamp2 to the sample demos.
2006/03/01 Initial version.
CONFIDENTIAL