nn::applet::CTR::AppletPowerButtonCallback Typetypedef void(* nn::applet::CTR::AppletPowerButtonCallback)(uptr arg);
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.
CONFIDENTIAL