0

In iOS, when setting up the motion sensors, a developer can pass in an initialization setting (XArbitraryZVertical) that, essentially, zeros out all of the data from the sensors in it's current position. I am wonder if there is an Android equivalent?

Thank you.

JGG Xm8
  • 71
  • 6

1 Answers1

0

It seems that the android.hardware.Sensor.TYPE_GAME_ROTATION_VECTOR provides this functionality.

JGG Xm8
  • 71
  • 6