Read

nn::hid::CTR::DebugPadReader::Read Member Function

Syntax

void Read(
     DebugPadStatus * pBufs,
     s32 * pReadLen,
     s32 bufLen
);

Parameters

Name Description
out pBufs Loads sampling data in order, starting with the newest data.
out pReadLen Number of data samples that were loaded.
in bufLen Specifies the number of data samples to load into pBufs.

Return Values

None.

Description

Reads sampling data from the debug pad in sequence, starting with the latest samples. Does not load any data that was previously loaded.

The maximum number of data samples that can be loaded is the seven most recent instances (MAX_READ_NUM).

Revision History

2011/02/18
Added information about the maximum number of data samples.
2010/06/14
Initial version.

CONFIDENTIAL