nn::applet::CTR::AppletPowerButtonCallback Type

Syntax

typedef void(* nn::applet::CTR::AppletPowerButtonCallback)(uptr arg);

Description

The type of the callback function invoked when POWER is pressed.


Note: The thread that calls this callback has a stack size of roughly 4 KB. Take care to avoid overflows.

Use the nn::applet::CTR::SetPowerButtonCallback function to set the callback.

The value specified in arg is passed as-is when setting the callback. Use as appropriate.

Revision History

2011/01/24
Added description of the stack.
2010/11/10
Initial version.

CONFIDENTIAL