MCPcopy Create free account
hub / github.com/coronalabs/corona / AccelerometerEvent

Method AccelerometerEvent

librtt/Rtt_Event.cpp:417–426  ·  view source on GitHub ↗

Creates a new event data object that stores a single accelerometer measurement. @param gravity Pointer to an array of 3 elements storing smoothed acceleration data. @param instant Pointer to an array of 3 elements storing acceleration deltas based on smoother/gravity data. @param raw Pointer to an array of 3 elements storing raw acceleration data. @param isShake Set true if the device was shaken.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected