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

Pioneer DDJ-ERGO: added mappings #12456

Closed
wants to merge 658 commits into from

Conversation

jssotomdz
Copy link

Followed the original mapping as close as possible here.

@jssotomdz
Copy link
Author

Created manual merge request as well
mixxxdj/manual#602

@JoergAtGithub
Copy link
Member

Welcome at Mixxx!
As a first-time contributor we need you to 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.

@jssotomdz
Copy link
Author

Welcome at Mixxx! As a first-time contributor we need you to 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.

Done!

@JoergAtGithub
Copy link
Member

The best way to fix pre-commit issues is to install pre-commit locally on your system, as described here: https://github.com/mixxxdj/mixxx/wiki/Using-Git#set-up-automatic-code-checking
Than it will fix these issues automatically before every commit.
Alternatively, you can download the pre-commit.patch file from the artifacts of this PR
grafik
unzip it, and apply it using:
git apply pre-commit.patch

@jssotomdz
Copy link
Author

The best way to fix pre-commit issues is to install pre-commit locally on your system, as described here: https://github.com/mixxxdj/mixxx/wiki/Using-Git#set-up-automatic-code-checking Than it will fix these issues automatically before every commit. Alternatively, you can download the pre-commit.patch file from the artifacts of this PR grafik unzip it, and apply it using: git apply pre-commit.patch

Thanks, applied them

@JoergAtGithub
Copy link
Member

The code stale is applied now, the remaining eslint errors need to be fixed manually

@jssotomdz
Copy link
Author

The code stale is applied now, the remaining eslint errors need to be fixed manually

Unused parameters should be removed from function declaration? And the constants storing the callback connections should be dismissed and just call the methods without assigning them?

@JoergAtGithub
Copy link
Member

Unused parameters are allowed, when they are named starting with an underscore. But if there is no reason to keep them, better delete them, than adding an underscore.
Storing the connections, make only sense, if you later use them for .trigger() or .disconnect().

@jssotomdz
Copy link
Author

Unused parameters are allowed, when they are named starting with an underscore. But if there is no reason to keep them, better delete them, than adding an underscore.
Storing the connections, make only sense, if you later use them for .trigger() or .disconnect().

Fixed. It is kind of strange though. Sometimes status is marked as used even though it isn't referenced in the code. Is there some guidance over this? And for some reasons, Mixxx is complaining about expecting a ; whenever I use let as a declaration. That is why I use var but then the action complains. How should I deal with those?

@jssotomdz
Copy link
Author

sorry, messed up the PR. Will rebase and reopen

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.

None yet