Murl::IAccelerometer Interface Referenceabstract

The accelerometer device interface. More...

#include "murl_i_accelerometer.h"

Inherited by Murl::Input::AccelerometerDevice.

Public Member Functions

virtual void PostEvent (Real accelX, Real accelY, Real accelZ)=0
 Post the current accelerometer axis acceleration. More...
 

Detailed Description

The accelerometer device interface.

Used by the platform to post events to the device.

Member Function Documentation

◆ PostEvent()

virtual void Murl::IAccelerometer::PostEvent ( Real  accelX,
Real  accelY,
Real  accelZ 
)
pure virtual

Post the current accelerometer axis acceleration.

Parameters
accelXThe x-axis acceleration in meter per seconds^2.
accelYThe y-axis acceleration in meter per seconds^2.
accelZThe z-axis acceleration in meter per seconds^2.

The documentation for this interface was generated from the following file:
  • murl_i_accelerometer.h


Copyright © 2011-2024 Spraylight GmbH.