GameCube Controller (PAD) Sample Demos

Location

$REVOLUTION_SDK_ROOT/build/demos/paddemo

Compilation

Go to the directory $REVOLUTION_SDK_ROOT/build/demos/paddemo and type make. An executable file (.elf file) will be generated under the path $REVOLUTION_SDK_ROOT/RVL/bin/demos/paddemo/.

Execution

Navigate to the $REVOLUTION_SDK_ROOT/RVL/bin/demos/paddemo/ directory and perform the following steps:

Description

Warning: These sample demos demonstrate use of the GameCube Controller library (the PAD library). To verify the operation of these demos, you must insert a GameCube Controller into the Controller Port.

simple Displays the current status of the Controller inserted in controller port 1.
basic Displays the current status of all Controllers inserted in the controller ports. The program detects and recovers from error conditions.
cont Indicates how to use controller utility functions, such as button auto-repeat or automatic reset.
motor Indicates how to adjust rumble motor strength.
sampling Indicates the use of the PADSetSamplingCallback function.

See Also

PAD APIs

Revision History

03/01/2006 Initial version.