Gamepad not giving back correct data when connected while app is running #13853
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
Bevy version
commit #13817
Relevant system information
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.
The text was updated successfully, but these errors were encountered: