diff --git a/src/android/app/src/main/jni/ndk_motion.cpp b/src/android/app/src/main/jni/ndk_motion.cpp index a7fb81f6c..5f5067712 100644 --- a/src/android/app/src/main/jni/ndk_motion.cpp +++ b/src/android/app/src/main/jni/ndk_motion.cpp @@ -82,7 +82,7 @@ class NDKMotion final : public Input::MotionDevice { } void Update() const { - ALooper_pollAll(0, nullptr, nullptr, nullptr); + ALooper_pollOnce(0, nullptr, nullptr, nullptr); ASensorEvent event{}; std::optional> new_accel{}, new_rot{}; while (ASensorEventQueue_getEvents(event_queue, &event, 1) > 0) {