nn::hid::CTR::Accelerometer Class

Syntax

class Accelerometer : public nn::hid::CTR::HidBase

Description

Class that contains the resources required for getting sampling data from the accelerometers. Use the nn::hid::CTR::GetAccelerometer function to get a reference to a valid instance.

The WaitSampling and WaitSamplingAny functions allow you to wait for events that are signaled each time sampling occurs. Use the AccelerometerReader class to get the actual 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::Accelerometer

Revision History

2010/01/07
Initial version.

CONFIDENTIAL