Skip to content

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

Closed

Description

@Lisieshy

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.

Activity

  1. added
    C-BugAn unexpected or incorrect behavior
    S-Needs-TriageThis issue needs to be labelled
    on Nov 12, 2022
  2. added
    A-InputPlayer input via keyboard, mouse, gamepad, and more
    and removed
    S-Needs-TriageThis issue needs to be labelled
    on Nov 12, 2022
  3. alice-i-cecile commented on Nov 12, 2022

    @alice-i-cecile
    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?

  4. Lisieshy commented on Nov 12, 2022

    @Lisieshy
    Author

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

  5. alice-i-cecile commented on Nov 12, 2022

    @alice-i-cecile
    Member

    Leaving this open until we bump that version then :)

  6. added a commit that references this issue on Nov 15, 2022
    51aab03
  7. added a commit that references this issue on Nov 30, 2022
    e30019b
  8. added a commit that references this issue on Feb 1, 2023
    ff80016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-InputPlayer input via keyboard, mouse, gamepad, and moreC-BugAn unexpected or incorrect behaviorC-DependenciesA change to the crates that Bevy depends on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions