nn::hid::CTR::GyroscopeReader::GyroscopeReader Constructor
GyroscopeReader(
AccelerometerReader * pAccelerometerReader = NULL,
Gyroscope & gyroscope = GetGyroscope()
);
| Name | Description | |
|---|---|---|
| pAccelerometerReader | ||
| gyroscope | ||
| in | pAccelerometrReader | Specify a reference to an instance of AccelerometerReader to use the referenced AccelerometerReader output value as the basis for correction. NULL is passed as the default, in which case correction is based on the internally stored default AccelerometerReader. |
Constructor.
Initialize with the nn::hid::CTR::Initialize function before creating an instance. This configures required settings to start sampling. Note that a certain wait time is needed between generating the first instance and starting to sample.
CONFIDENTIAL