The system variable pAccelerationY always contains the acceleration of the device along the y axis in the frame previous to the current frame. Value is represented as meters per second squared.
This page is generated from the comments in src/events/acceleration.js . Please feel free to edit it and submit a pull request!
Related References
accelerationX
The system variable accelerationX always contains the acceleration of the device along the x axis.
accelerationY
The system variable accelerationY always contains the acceleration of the device along the y axis.
accelerationZ
The system variable accelerationZ always contains the acceleration of the device along the z axis.
deviceMoved
The deviceMoved() function is called when the device is moved by more than the threshold value along X, Y or Z axis.