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 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

Loads sampling data from the gyro sensor, starting with the latest data. Does not load any data that was previously loaded.


CONFIDENTIAL