nn::hid::CTR::AccelerometerReader::ReadLatest Member Function
bool ReadLatest(
AccelerometerStatus * pBuf
);
| Name | Description | |
|---|---|---|
| out | pBuf | Loads the sampling data. |
true: Successfully loaded.false: Could not be loaded. (The data can be loaded immediately following the first sampling that occurs after an instance of AccelerometerReader has been generated or after the system wakes up from sleep.) Loads the newest sampling data from the accelerometers. Unlike the nn::hid::CTR::AccelerometerReader::Read function, this function can load the same sampling data more than once.
This function internally calculates the sensitivity as the change in acceleration between the current and previous data samples from the ReadLatest function.
CONFIDENTIAL