nn::hid::CTR::Gyroscope Class

Syntax

class Gyroscope : public nn::hid::CTR::HidBase

Description

The class with the resources necessary to get sampling data from the gyro sensor. Use the nn::hid::CTR::GetGyroscope function to get a reference to a valid instance of this class.

The WaitSampling and WaitSamplingAny functions allow you to wait for events that are signaled each time sampling occurs. Use the nn::hid::CTR::Gyroscope class to actually get sampling data.

Class Hierarchy

ADLFireWall::NonCopyable
  nn::os::HandleObject
    nn::os::WaitObject
      nn::os::InterruptEvent
        nn::os::EventBase
          nn::hid::CTR::HidBase
            nn::hid::CTR::Gyroscope


CONFIDENTIAL