nn::hid::CTR::Initialize Function

Syntax

nn::Result Initialize();

Parameters

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Process was successful.
MakeResultAlreadyInitialized Already initialized.

Description

Initializes the HID library and enables loading of the sampling data.

Assigns 4 KB of the shared memory allocated by the system as an input buffer to the application's memory space. This address will never overlap with the heap region used by the application.
Does nothing and returns an error if the nn::hid::CTR::Initialize function has already been called.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL