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 input not working for DualSense (PS5) controller #6555

Closed
Lisieshy opened this issue Nov 12, 2022 · 3 comments
Closed

Gamepad input not working for DualSense (PS5) controller #6555

Lisieshy opened this issue Nov 12, 2022 · 3 comments
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Bug An unexpected or incorrect behavior C-Dependencies A change to the crates that Bevy depends on

Comments

@Lisieshy
Copy link

Lisieshy commented Nov 12, 2022

Bevy version

Tested both v0.8.1 and commit c3c4088 of bevy

What you did

Running the official gamepad input examples of bevy

cargo run --example gamepad_input and cargo run --example gamepad_input_events

plugging and unplugging my controller and pressing buttons.

What went wrong

Controller doesn't log anything in the terminal when pressing buttons or connecting/disconnecting it.

Additional information

Tested with the official example from gilrs repo and it works perfectly fine, outputs as expected when gilrs is standalone.

@Lisieshy Lisieshy added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Nov 12, 2022
@alice-i-cecile alice-i-cecile added A-Input Player input via keyboard, mouse, gamepad, and more and removed S-Needs-Triage This issue needs to be labelled labels Nov 12, 2022
@alice-i-cecile
Copy link
Member

That's very strange that this is working for gilrs but not here. The translation layer is very simple.

Are you sure you were testing the version of gilrs that we're currently using?

@Lisieshy
Copy link
Author

That's my bad, it does not work with versions earlier than 0.10 of gilrs!

@alice-i-cecile
Copy link
Member

Leaving this open until we bump that version then :)

@alice-i-cecile alice-i-cecile added the C-Dependencies A change to the crates that Bevy depends on label Nov 12, 2022
@bors bors bot closed this as completed in 51aab03 Nov 15, 2022
cart pushed a commit that referenced this issue Nov 30, 2022
# Objective
Fix #6555.

## Solution
Bump `gilrs` version to 0.10.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this issue Feb 1, 2023
# Objective
Fix bevyengine#6555.

## Solution
Bump `gilrs` version to 0.10.
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 C-Dependencies A change to the crates that Bevy depends on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants