nn::applet::CTR::IsExpectedToProcessPowerButton Function
bool IsExpectedToProcessPowerButton(
void
);
None.
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.
CONFIDENTIAL