OSGetResetButtonState

Syntax

#include <revolution/os.h>

BOOL OSGetResetButtonState(void);

Arguments

None.

Return Values

Returns TRUE if the reset button has been pressed; otherwise, returns FALSE.

Description

Determines whether the reset button has been pushed. This function returns TRUE if RESET has been pressed even once since the last time this function was called or since initializing the OS. Once TRUE is returned, FALSE will be returned until RESET is pressed again.

Note: The Wii console hardware is not automatically reset even if RESET is pressed. Each game application must decide how to handle RESET button input.

See Also

Reset Button Functions, OSSetResetCallback

Revision History

2006/08/10 Revised to match Wii specifications.
2006/03/01 Initial version.


CONFIDENTIAL