-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Numark DJ2Go2: support HotCue clear with Pad #10841
Conversation
@@ -221,6 +221,78 @@ | |||
<script-binding/> | |||
</options> | |||
</control> | |||
<control> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DJ2GO2/DJ2GO2 Touch does not support "shift" button, but send another control (control + 8) when push "Pad" holding "PAD MODE" in "CUES" mode.
Other DJ software assigns it to clear hotcue.
In other modes, holding "PAD MODE" is ignored. DJ2GO2/DJ2GO2 Touch sends same control holding "PAD MODE" or not.
@@ -104,7 +104,14 @@ DJ2GO2Touch.Deck = function(deckNumbers, midiChannel) { | |||
this.hotcueButtons[i] = new components.HotcueButton({ | |||
group: "[Channel" + script.deckFromGroup(this.currentDeck) + "]", | |||
midi: [0x94 + midiChannel, 0x00 + i], | |||
number: i | |||
number: i, | |||
input: function(channel, control, value, status, _group) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the received control is smaller than or equal to 8, send _activate to hotcue.
If the received control is greater than 8, send _clear to hotcue.
Thank you for this contribution! Updates/fixes to controller mappings that do not rely on new features should go to the current stable branch, which is In order to make CI happy (without too many fixup commits), please also set up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. Can you also take care of updating the manual with this new feature?
328093b
to
bee6686
Compare
Thank you for comments. ronso0, I sent my sign. I have branced form 2.3, cherry-pick my commit and push force to my local repositry. And DJ2Go is not compatible with DJ2Go2/DJ2Go2 Touch. Swiftb0y, Thank you. I will try to update manual. I add comment. |
Thanks. If you take care of the manual, I'll can take care of the failing pre-commit hook before merging. |
Well, depends on with which name/nick you want to be mentioned in the contributor list in the About dialog and on the website? |
I want to use my account name 'doteya'. |
I make PR for the manual. And I have fixed pre-commit code style issue. |
No Problem. |
push "Pad" in "CUES" mode, activate hotcue, and push "Pad" holding "PAD MODE" in "CUES" mode, clear hotcue.
b917562
to
f4d49f7
Compare
I squash all commits in a single commit and push it. |
Done. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. thank you very much.
push "Pad" in "CUES" mode, activate hotcue, and
push "Pad" holding "PAD MODE" in "CUES" mode, clear hotcue.