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

Add support for multiple accelerometer and gyroscope inputs #4824

Closed
Blockyheadman opened this issue Jul 6, 2022 · 1 comment
Closed

Add support for multiple accelerometer and gyroscope inputs #4824

Blockyheadman opened this issue Jul 6, 2022 · 1 comment

Comments

@Blockyheadman
Copy link

Describe the project you are working on

I was working on a project where I wanted an android mobile device with a headset insert where I can aim around the gamepad connected to the device.

Please note that it's not a standalone or wired VR headset. I use the android mobile device

Describe the problem or limitation you are having in your project

I am only able to get the mobile device's input and not the gamepad

Describe the feature / enhancement and how it helps to overcome the problem or limitation

It would allow for more people to have a controller rotation on one system for local multiplayer or for something like my case.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Input.get_accelerometer(device: int)

If this enhancement will not be used often, can it be worked around with a few lines of script?

From what I have checked, there isn't any way to get another device's accelerometer with other code. I'm decently new but I have learned some coding from godot.

Is there a reason why this should be core and not an add-on in the asset library?

As there more than likely isn't anyway to get the input, it should be added as a core element.

@Calinou
Copy link
Member

Calinou commented Jul 6, 2022

Duplicate of #2829.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants