nn::hid::CTR::Initialize Function

Syntax

nn::Result Initialize();

Arguments

None.

Return Values

Returns the result of the operation.
Note: The error codes listed here may change in the future.
LEVEL_SUCCESS:SUMMARY_SUCCESS:MODULE_COMMON:DESCRIPTION_SUCCESS ・・・Success.
LEVEL_USAGE:SUMMARY_INVALID_STATE:MODULE_NN_HID:DESCRIPTION_ALREADY_INITIALIZED・・・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