nn::hid::CTR::GyroscopeReader::Read Member Function

Syntax

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

Arguments

Name Description
out pBufs Loads sampling data in order, starting with the most recent data.
out pReadLen Number of data samples that were loaded.
in bufLen Specifies the number of data samples that can be loaded into pBufs.

Return Values

None.

Description

Loads sampling data from the gyro sensor, starting with the most recent data. Does not load any data that has been previously loaded.

The maximum number of data samples that can be loaded is the 31 most recent instances.

Revision History

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

CONFIDENTIAL