fix for overlapping control ids (jog wheel with F7 and external with left)
[ardour.git] / libs / surfaces / mackie / mackie_midi_builder.h
index f0c3d51a54d03439edc44eed0ceccd449bc836a5..4f8e2c11405ad6a1da54ff1d96e6d540a72f9c9d 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "midi_byte_array.h"
 #include "types.h"
+#include "controls.h"
 
 namespace Mackie
 {
@@ -37,9 +38,9 @@ public:
                with the control id
        */
        enum midi_types {
-               midi_fader_id = 0xe0
-               , midi_button_id = 0x90
-               , midi_pot_id = 0xb0
+               midi_fader_id = Control::type_fader
+               , midi_button_id = Control::type_button
+               , midi_pot_id = Control::type_pot
        };
 
        /**