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

Fix Sony SixxAxis controller not working #13319

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Fix Sony SixxAxis controller not working #13319

merged 1 commit into from
Jun 3, 2024

Conversation

marios1861
Copy link
Contributor

Minor fix in mapping file of sony sixxaxis controller. A wrong HIDPacket initialization was setting the length to 0, thus packets couldn't be parsed.

Copy link
Member

@JoergAtGithub JoergAtGithub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@daschuer
Copy link
Member

daschuer commented Jun 3, 2024

Unfortunately the Ci is failing:

  13:9  error  'packet' is not defined  no-undef
  14:9  error  'packet' is not defined  no-undef

@marios1861 marios1861 marked this pull request as draft June 3, 2024 06:39
@marios1861
Copy link
Contributor Author

My thinking was to first get the original mapping back to functional with minimal changes (achieved through this PR) and create an additional mapping without the bugs of this mapping in a separate PR. If you believe these two steps should be combined into a single PR and this dysfunctional mapping should be wholly overwritten, I will keep this PR as a draft and add the revised mapping.

Copy link
Member

@Swiftb0y Swiftb0y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My thinking was to first get the original mapping back to functional with minimal changes (achieved through this PR) and create an additional mapping without the bugs of this mapping in a separate PR. If you believe these two steps should be combined into a single PR and this dysfunctional mapping should be wholly overwritten, I will keep this PR as a draft and add the revised mapping.

Please keep them separate. In order to not break our CI pipeline, we need ensure that all the checks pass here (which in this case amounts to applying my suggestion below). Please do that and rebase the commits on the 2.4 branch so people receive the updated mapping faster. Thank you.

res/controllers/Sony-SixxAxis.js Outdated Show resolved Hide resolved
@marios1861 marios1861 changed the base branch from main to 2.4 June 3, 2024 11:42
@marios1861 marios1861 changed the base branch from 2.4 to main June 3, 2024 11:45
@marios1861 marios1861 changed the base branch from main to 2.4 June 3, 2024 11:55
@marios1861 marios1861 marked this pull request as ready for review June 3, 2024 11:56
Copy link
Member

@Swiftb0y Swiftb0y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for improving this! Please sign the Mixxx Contributor Agreement and comment here when you have done so. It gives us permission to distribute your contribution under the GPL v2 or later license and the Apple Mac App Store. It is also helpful for us to have contact information for contributors in case we may need it in the future.

@marios1861
Copy link
Contributor Author

@Swiftb0y all done!

@Swiftb0y
Copy link
Member

Swiftb0y commented Jun 3, 2024

Thank you very much. Looking forward to your follow up PR.

@Swiftb0y Swiftb0y merged commit 96a50d3 into mixxxdj:2.4 Jun 3, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants