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

Added support for Dualsense joystick (PlayStation 5) #821

Closed
wants to merge 89 commits into from
Closed

Added support for Dualsense joystick (PlayStation 5) #821

wants to merge 89 commits into from

Conversation

jig
Copy link
Contributor

@jig jig commented May 29, 2022

Added support for PlayStation 5 Dualsense joystick.

Code derived from Dualshock 4:

  • buttons remapped to appropriate IDs
  • L2 and R2 are now "axis" instead of "buttons"
  • New "create" button (instead of "share" button)
  • examples/joystick_ps5.go file as example code

@jig jig marked this pull request as ready for review May 29, 2022 11:14
@jig jig changed the title Feature/dualsense Added support for Dualsense joystick (PlayStation 5) May 29, 2022
@jig jig marked this pull request as draft May 29, 2022 11:35
@jig
Copy link
Contributor Author

jig commented May 29, 2022

Example is being build. It has not to. Fixing it now.

@jig
Copy link
Contributor Author

jig commented May 29, 2022

Example building is disabled now.

@jig jig marked this pull request as ready for review May 29, 2022 11:43
@gen2thomas
Copy link
Collaborator

@jig unfortunatelly I have no such platform and device to test the new driver, but from the code review perspective, it looks good to me.

@deadprogram is there anything for you, what is against the merge?

gen2thomas and others added 17 commits September 24, 2022 13:52
BUGFIX: circleci new home path
now the basic changes are the same like #837
Signed-off-by: deadprogram <ron@hybridgroup.com>
Diagonal directions are simply the 2 buttons hit added. 
Tested on a PowerA Xbox controller
Website documentation did not make this immediately obvious
BUGFIX: some failing tests and implement unused interface
…wait forever when it is called multiple times

Add failing unit tests.
…wait forever when it is called multiple times

Fix the issue.
…wait forever when it is called multiple times

Fix the test for Halt method so that it waits for all the related goroutines to complete.
@gen2thomas
Copy link
Collaborator

gen2thomas commented Oct 20, 2022

Hi @jig, please can you change the target branch to dev. Meanwhile I set it back to draft.

@gen2thomas gen2thomas marked this pull request as draft October 20, 2022 06:46
@jig
Copy link
Contributor Author

jig commented Oct 25, 2022

Hmm, I think I messed the history of this PR @gen2thomas trying to get changes from dev.
I'll try to redo this from scratch and I'll try to create a brand new (and hopefully correct PR).

I will close this PR when I will complete the new one.

@jig jig closed this by deleting the head repository Oct 29, 2022
@jig
Copy link
Contributor Author

jig commented Oct 29, 2022

This PR has been superseded by #880.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants