nn::hid::CTR::AccelerometerReader::Read Member Function
void Read(
AccelerometerStatus * pBufs,
s32 * pReadLen,
s32 bufLen
);
| 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. |
Loads sampling data from the accelerometers in order, starting with the newest samples. Does not load any data that was previously loaded.
Up to seven data samples can be loaded (the most recent samples) (MAX_READ_NUM).
CONFIDENTIAL