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

Gamepad not giving back correct data when connected while app is running #13853

Open
SenneDeVocht opened this issue Jun 14, 2024 · 0 comments
Open
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Bug An unexpected or incorrect behavior S-Needs-Investigation This issue requires detective work to figure out what's going wrong

Comments

@SenneDeVocht
Copy link

Bevy version

commit #13817

Relevant system information

  • Windows 10 PC
  • 8BitDo Ultimate Controller (bluetooth)

What you did

I started the gamepad_input example, and connected my gamepad.

What went wrong

Instead of getting one gamepad connection event, three events are logged: "connected", "disconnected", and "connected" again.
After this the left stick will start logging, even when it is not being moved. The values of the stick are always either -1, or 1, depending on the direction it is moved in. No analog values are logged.

This behaviour does not happen when the gamepad is connected before the example is started. In that case everything works as expected.

Additional information

This behaviour happens no matter if the gamepad is connected via usb or bluetooth.
It does not happen with my other (older 8bitdo) controller.

I tested my controller with GilRs, and it seemed to be working fine with the xinput feature enabled. Without this feature, I did see the 3 connection events, but did not see any further events.

@SenneDeVocht SenneDeVocht added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jun 14, 2024
@alice-i-cecile alice-i-cecile added A-Input Player input via keyboard, mouse, gamepad, and more S-Needs-Investigation This issue requires detective work to figure out what's going wrong and removed S-Needs-Triage This issue needs to be labelled labels Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Bug An unexpected or incorrect behavior S-Needs-Investigation This issue requires detective work to figure out what's going wrong
Projects
None yet
Development

No branches or pull requests

2 participants