nn::applet::CTR::HomeButtonState Enumerated Type

Syntax

enum HomeButtonState;

Value

Value Description
HOME_BUTTON_NONE A HOME Button press has not been detected.
HOME_BUTTON_SINGLE_PRESSED A single HOME Button press was detected.
HOME_BUTTON_DOUBLE_PRESSED A double HOME Button press was detected.

Description

Enumerated type indicating the state of the HOME Button.

You can get this state with the GetHomeButtonState function.

The state switches to HOME_BUTTON_NONE when you call the ClearHomeButtonState function.

Note:

In CTR SDK 4.0 and later versions, the GetHomeButtonState function no longer returns the double-click. The definition for the double-click itself remains for purposes of compatibility, but in the future it might be deleted.

Revision History

2012/02/01
Noted that in CTR SDK 4.0 and later versions the double-click is no longer returned.
2010/11/10
Initial version.

CONFIDENTIAL