WPADSetAutoSleepTime

C Specification

#include <revolution/wpad.h>

void WPADSetAutoSleepTime( u8 minute );

Arguments

minute Represents the amount of time (in minutes) until the connection is automatically cut if there is no input.

Return Values

None.

Description

Sets the time to wait before the Wii Console automatically disconnects a Wii Remote that is inactive. To avoid unintentional battery consumption, the connection to the Wii Remote is automatically cut by the Wii Console, if there has been no input from the Wii Remote for a certain amount of time. The library includes a timer for each Wii Remote with the default timeout set to five minutes. Note that time already being counted internally is not reset even if the timeout value is changed using this function.

The auto-disconnect feature can be disabled by setting minute to zero.

See Also

WPAD Functions

Revision History

08/15/2005 Initial version.


CONFIDENTIAL