Controller mapping update for 4-mx#810
Conversation
Controller mapping update for 4-mx
|
Please add new file to Windows uninstaller. |
Added deletion of the new script to Windows installer
|
Can you make a wiki page for this? |
|
This looks good to me. At least one forum user is quite happy: |
|
I'll take a look through this tonight or tomorrow, so please don't merge quite yet. |
|
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? |
There was a problem hiding this comment.
Move this below the introductory comments. Users don't need to care about this.
|
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). |
|
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.) |
|
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. |
Controller mapping update for 4-mx
|
Okay. I'll make some review comments on this PR then @JosepMaJAZ can open a new PR after making some changes. |
|
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. |
|
Is this a class compliant USB MIDI and audio device? It works with Linux, right? |
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. |
There was a problem hiding this comment.
maybe cue_gotoandstop would be more useful? On the other hand, the button has a solid square stop icon on it.
|
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. |
There was a problem hiding this comment.
Can you move this to the very top of the file?
Controller mapping update for 4-mx