Android add TYPE_GAME_ROTATION_VECTOR sensor support #5611
Unanswered
jerinjohnk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While trying to use SensorType.ROTATION on low-end Android devices for animation. It was returning isAvailable as false.
Replacing TYPE_ROTATION_VECTOR to make use of TYPE_GAME_ROTATION_VECTOR started to receive values.
Since the low-end devices didn't have magnetometer and compass sensors hence TYPE_GAME_ROTATION_VECTOR worked instead.
Tested devices
Motorola g40 Fusion
Redmi Note 12pro 5G
Beta Was this translation helpful? Give feedback.
All reactions