Skip to content

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

@Yamilemon

Description

@Yamilemon

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

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

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions