diff Source/Mappings/Control/TouchkeyControlMappingShortEditor.cpp @ 32:5f25a9b0139e

Change the order of controllers in Control mapping to put PW and AT first
author Andrew McPherson <andrewm@eecs.qmul.ac.uk>
date Thu, 20 Mar 2014 00:18:35 +0000
parents dfff66c07936
children 114427cb39f0
line wrap: on
line diff
--- a/Source/Mappings/Control/TouchkeyControlMappingShortEditor.cpp	Thu Mar 20 00:14:00 2014 +0000
+++ b/Source/Mappings/Control/TouchkeyControlMappingShortEditor.cpp	Thu Mar 20 00:18:35 2014 +0000
@@ -121,12 +121,12 @@
     typeComboBox->addItem("1st Touch Relative", TouchkeyControlMapping::kTypeFirstTouchRelative);
     typeComboBox->addItem("Note Onset Relative", TouchkeyControlMapping::kTypeNoteOnsetRelative);
 
+    controlComboBox->addItem("Pitch Wheel", MidiKeyboardSegment::kControlPitchWheel);
+    controlComboBox->addItem("Channel Pressure", MidiKeyboardSegment::kControlChannelAftertouch);
+    controlComboBox->addItem("Poly Aftertouch", MidiKeyboardSegment::kControlPolyphonicAftertouch);
     for(int i = 1; i <= 119; i++) {
         controlComboBox->addItem(String(i), i);
     }
-    controlComboBox->addItem("Pitch Wheel", MidiKeyboardSegment::kControlPitchWheel);
-    controlComboBox->addItem("Channel Pressure", MidiKeyboardSegment::kControlChannelAftertouch);
-    controlComboBox->addItem("Poly Aftertouch", MidiKeyboardSegment::kControlPolyphonicAftertouch);
     //[/UserPreSize]
 
     setSize (328, 71);