How can I reliably convert device orientation into phone rotation angles?
I'm building a Unity plugin that supports different game-controller styles using a phone's orientation. I want to extract three angles describing how the phone is rotated, but I'm…