-
-
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
feat(controllers): add new controller mapping for Numark NS6II #11075
Conversation
1f3330e
to
6f16bba
Compare
tests are failing because of the EffectUnits. I guess I'll have to redo them when I find the time. Works locally so far. |
This PR is marked as stale because it has been open 90 days with no activity. |
7872f2b
to
fccd316
Compare
This PR is marked as stale because it has been open 90 days with no activity. |
Ah yes, good old stale. I have had and used this controller for about 5 years now, one day I'll get around to polishing the mapping enough for merge. Still, a surface-level review in the meantime would be appreciated. |
This PR is marked as stale because it has been open 90 days with no activity. |
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.
Hard to review without the device to test. but it is looking good overall. Also I'm sure that if you've been using it this long, you probably had a chance to polish most of the small bug lying around :)
Some comment cruft here and there that might be worth removing or documenting if useful for alternate behaviours (note that if the latter, you might want to consider the controller settings).
Did you have a chance to prepare the manual for that?
I'll try to give this another look and ping you when I think its ready. Thanks for the review. |
@acolombier please re-review ;) |
@@ -1,4 +1,6 @@ | |||
|
|||
type MidiInputHandler = (channel: number, control: number, value:number, status:number, group:string) => void; | |||
|
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.
I can't spot the place, where this type is defined in our API. Is this a mapping specific type, that doesn't belong to the API?
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.
Its the type our input handlers are expected to be https://github.com/mixxxdj/mixxx/wiki/midi%20scripting#midi-input-handling-functions
friendly ping... ;) |
// grey could be an alternative as well as a backlight color. | ||
off: NS6II.USE_BUTTON_BACKLIGHT ? NS6II.PAD_COLORS.RED.DIMMER : NS6II.PAD_COLORS.OFF, |
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.
Could it be worth adding a dynamic setting for that?
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.
yes, I'll add that as a follow up, but I wanted to keep this branch targetted at 2.4
691831b
to
57e7974
Compare
How do we want to proceed? 2.4 is EOL, I can rebase on 2.5 and add appropriate controller settings. Anything else to do to get this merged some time? The hardware I have is slowly dying so I won't be able to work on this for very long. It would be a shame if I went trough the entire controller without the mapping ever making it in. |
You can just change the release branch via "edit" above. Alternative is to merge it to the 2.4 branch and than merge 2.4 to 2.5. |
right, but there is little point when nobody is bothering to review or press merge. |
57e7974
to
1e74312
Compare
added the 2.5 controller settings feature. Would you be so kind and do another review round @acolombier? 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! Thanks for you work here. I'll let @ronso0 hit merge once the manual PR is being merged too :)
e3625f9
to
16119fe
Compare
Did a final rebase just in case. Should be good to go. |
Alright, thanks! |
Passed. lets go. |
Thank you both @acolombier and @ronso0 for pulling through and finally getting this merged. I'm very relieved to be able to focus on the Reloop Ready mapping next #4513 and afterwards on my Traktor S8. |
Manual still TODOmanual PR