nn::hid::CTR::DebugPadReader::ReadLatest Member Function

Syntax

bool ReadLatest(
     nn::hid::CTR::DebugPadStatus * pBuf
);

Arguments

Name Description
out pBuf Loads the sampling data.

Return Values

Returns the result of loading sampling data.

Value Description
true Successfully loaded.
false Could not be loaded. (The data cannot be loaded immediately following the first sampling that occurs after the system starts up or wakes up from sleep.)

Description

Reads the latest sampling data from the debug pad. Unlike the nn::hid::CTR::DebugPadReader::Read function, this function can read the same sampling data more than once.

The trigger and release values are generated with respect to the previous ReadLatest results.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL