PADInit

C Specification

#include <revolution/pad.h>
void PADInit(void);

Arguments

None.

Return Values

None.

Description

This function initializes the controllers. The PADInit function enables controller sampling to be executed by the Revolution hardware. The controller sampling rate is specified by the SISetSamplingRate function.

Note: The video interface (VI) must be initialized using the VIInit function before calling the PADInit function. This is because the VI controls the timing of the sampling of hardware controller data.

See Also

Controller Functions, PADRead, SISetSamplingRate, PADStatus

Revision History

03/01/2006 Initial version.