Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

横屏时陀螺仪不起作用导致识别不准 #10

Open
Yamilemon opened this issue Nov 14, 2022 · 0 comments
Open

横屏时陀螺仪不起作用导致识别不准 #10

Yamilemon opened this issue Nov 14, 2022 · 0 comments

Comments

@Yamilemon
Copy link

机型:红米K30
NDK版本:android-ndk-r21e
camke版本:3.10.2-win64-x64

ALooper_pollAll的返回值一直都是-3,进不去下面的陀螺仪事件里去,导致横屏时识别效果很差,因为图像没旋转的缘故,不知道为什么。

image

但是这里无视这个错误继续进入那个if分支的话好像也没啥问题,横屏时陀螺仪也能正常工作。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant