Hi,
Just wanted to report some progress.
It's working =)
We can now map controllers a lot faster now.
There're still a few ui tweaks to make, such as the ones jus posted.
So, when I was updating a mapping:
Fader A --> Crossfader
to Fader B --> Crossfader
I had to create a new mapping, and then erase the old one.
Pretty straight-forward.
But I think I may have bumped into a bug:
void MidiMapping::removeInputMapping(MidiMessage midiMessage)
{
m_inputMapping.remove(midiMessage);
}
m_inputMapping is a MidiInputMapping object, which actually
is a QHash<MidiMessage, MixxxControl>
As djs we might want macros, for instance:
Fader A --> Volume Deck1 Up
Fader A --> Volume Deck2 Down
QHash does not allow multiple values, QMultiHash does.
So, when I call that method when updating say Fader A --> Volume Deck1 Up
Both entries get deleted, because Fader A emits the same MidiMessage.
So, this QHash is stopping us from using macros.
I'm gonna try to simply change that to QMultiHash, I just wanted
to know if anyone knows if that's gonna cause an issue?
Thanks!
On Apr 28, 2010, at 7:07 AM, jus wrote:
> Hello,
> one small thing coming to my mind regarding MIDI Mapping Usability:
> If you map some controls with the Wizard, currently all entrys shown in the
> GUI (Midi preferences dialog) are sorted by midi notes.
>
> It would be really useful if the table could be sorted by clicking on the
> table header ( just like the playlist table),
> so one could sort by channel, note, etc.
> Also the table should expand if you expand the GUI (Midi preferences dialog).
> Currently it has max. size fixed.
>
> These small changes would make working with the midi dialog more enjoyable,
> espacialy if you edit entrys afterwards.
>
> jus
> ------------------------------------------------------------------------------
> _______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Bruno Buccolo
------------------------------------------------------------------------------
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel