nn::applet::CTR::IsExpectedToProcessPowerButton Function

Syntax

bool IsExpectedToProcessPowerButton(
     void
);

Arguments

None.

Return Values

Returns the state.

Description

Finds the state of the POWER Button.

A return value of true indicates that the POWER Button was pressed. In this case, close the application immediately.

A value of false indicates that a POWER Button press was not detected. In this case, do nothing.

Call this function periodically (usually every frame).

A value of true indicates that the POWER Button was pressed and a value of false indicates that it was not.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL