Skip to content

Controller mapping update for 4-mx#810

Merged
ywwg merged 4 commits intomixxxdj:1.12from
JosepMaJAZ:1.12
Dec 17, 2015
Merged

Controller mapping update for 4-mx#810
ywwg merged 4 commits intomixxxdj:1.12from
JosepMaJAZ:1.12

Conversation

@JosepMaJAZ
Copy link
Copy Markdown
Contributor

Controller mapping update for 4-mx

Controller mapping update for 4-mx
@sblaisot
Copy link
Copy Markdown
Member

Please add new file to Windows uninstaller.
http://www.mixxx.org/wiki/doku.php/contributing_mappings#windows_installer_update

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Dec 14, 2015

Can you make a wiki page for this?

@JosepMaJAZ
Copy link
Copy Markdown
Contributor Author

@rryan
Copy link
Copy Markdown
Member

rryan commented Dec 16, 2015

This looks good to me.

At least one forum user is quite happy:

Stunning work :) 

Tested great, with windows 10, 4-MX, and latest version 2.0.0-rc1 (build 1.12 r5678)

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Dec 16, 2015

I'll take a look through this tonight or tomorrow, so please don't merge quite yet.

@JosepMaJAZ
Copy link
Copy Markdown
Contributor Author

JosepMaJAZ commented Dec 16, 2015 via email

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Dec 16, 2015

Yes. The only problem so far is that the lights remain lit when closing mixxx even when I have a shutdown event to do so and the logs say it is being executed. Someday I will need to investigate why.

I see that the allLedsOff function is called in the init function too. If there are lights lit on the controller, does that succeed in shutting them off when Mixxx starts or the mapping is loaded?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Move this below the introductory comments. Users don't need to care about this.

@sblaisot
Copy link
Copy Markdown
Member

I've seen the same problem (led stay lit on on shutdown despite allLedsOff in shutdown function) on Hercules dj control mp3e2. I even made a bug report for that (on mobile, I don't have the lp number right now).
Not a mixxx problem at first look but I'm interested if you find something.

@Pegasus-RPG
Copy link
Copy Markdown
Member

For the light shut-off, you might try testing with a 250ms sleep in between commands. (I understand some Hercules devices can't handle too many MIDI messages at once.)

@ywwg
Copy link
Copy Markdown
Member

ywwg commented Dec 17, 2015

We're cutting the RC2 tonight so I'm going to merge this in despite the style nits. @Be-ing, if you want to propose a cleanup PR for RC3/Release we'd welcome that. @JosepMaJAZ if you figure out a solution to the lights-on problem please feel free to submit it.

ywwg added a commit that referenced this pull request Dec 17, 2015
Controller mapping update for 4-mx
@ywwg ywwg merged commit 33e3c52 into mixxxdj:1.12 Dec 17, 2015
@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Dec 17, 2015

Okay. I'll make some review comments on this PR then @JosepMaJAZ can open a new PR after making some changes.

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Dec 18, 2015

Regarding the light shutoff, have you tried sending all the MIDI messages from the shutdown function directly without calling another function? Just throwing a guess out there. I have no idea if that will solve the issue.

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Dec 18, 2015

Is this a class compliant USB MIDI and audio device? It works with Linux, right?

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Dec 18, 2015

Vol. Main Controls output volume of your mix

I see this is mapped in the XML file. Does this also affect the sound card's control? Does it need to be mapped to the software gain in Mixxx? If it affects the sound card's output level, it shouldn't also control the software gain.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe cue_gotoandstop would be more useful? On the other hand, the button has a solid square stop icon on it.

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Dec 18, 2015

I'm confused how the shift button works. The wiki says that pressing it toggles between actions 1-6 and 7-12 for the buttons, but it also says pressing particular buttons with shift does an alternate action which is different from the action of the button when the other layer (1-6 vs 7-12) is active. If I understand the code correctly, pressing and releasing the shift button without pressing any other buttons toggles between actions 1-6 and 7-12, but if another button is pressed before shift is released, it does not switch between 1-6/7-12. Is that correct?

Also, loops are not effects; they're loops. It is confusing to call them effect buttons when they don't control audio effects.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you move this to the very top of the file?

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.

6 participants