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

No Motion Data #12

Open
fdaf11 opened this issue May 29, 2022 · 1 comment
Open

No Motion Data #12

fdaf11 opened this issue May 29, 2022 · 1 comment

Comments

@fdaf11
Copy link

fdaf11 commented May 29, 2022

I Tried gamecontroller.GameActivity Project, the buttons is ok, but i can't get motion and accelerometer data, which display none. Can I figure out how to debug it?

@natetrost
Copy link
Contributor

Accelerometer/motion data has requirements:

  • A compatible controller (currently PS4 and PS5 for motion data)
  • Android 12 or later
  • Device is running a kernel version that include the updated driver. Not all Android 12 devices have the relevant kernel upgrades. Recent Pixel phones, for example, include the required driver.

The short answer is if you are using a PS4 or PS5 controller on Android 12 or later, you should get motion data if your device has the appropriate kernel driver. If not, it won't be displayed.

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

2 participants