Read

nn::hid::CTR::TouchPanelReader::Read Member Function

Syntax

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

Parameters

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

Return Values

None.

Description

Reads sampling data from the Touch Screen, starting with the latest samples. Any previously loaded data is not read.

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/01/07
Initial version.

CONFIDENTIAL