, _uses_ipmidi (false)
, _no_handshake (false)
, _has_meters (true)
+ , _has_separate_meters (false)
, _device_type (MCU)
, _name (X_("Mackie Control Universal Pro"))
{
_global_buttons[Button::UserA] = GlobalButtonInfo ("Rear Panel User Switch 1", "user", 0x66);
_global_buttons[Button::UserB] = GlobalButtonInfo ("Rear Panel User Switch 2", "user", 0x67);
- //TODO Implement "rear panel external control": a connection for a resistive
- //TODO element expression pedal . Message: 0xb0 0x2e 0xVV where 0xVV = external
+ //TODO Implement "rear panel external control": a connection for a resistive
+ //TODO element expression pedal . Message: 0xb0 0x2e 0xVV where 0xVV = external
//TODO controller position value (0x00 to 0x7f)
_strip_buttons[Button::RecEnable] = StripButtonInfo (0x0, "Rec");
_has_meters = true;
}
+ if ((child = node.child ("HasSeparateMeters")) != 0) {
+ if ((prop = child->property ("value")) != 0) {
+ _has_meters = _has_separate_meters = string_is_affirmative (prop->value());
+ }
+ } else {
+ _has_separate_meters = false;
+ }
+
if ((child = node.child ("LogicControlButtons")) != 0) {
if ((prop = child->property ("value")) != 0) {
_uses_logic_control_buttons = string_is_affirmative (prop->value());
}
}
}
-
+
}
} else if ((*i)->name() == "StripButton") {
}
}
}
-
+
}
-
+
}
}
}
return _has_meters;
}
+bool
+DeviceInfo::has_separate_meters() const
+{
+ return _has_meters;
+}
+
bool
DeviceInfo::has_two_character_display() const
{
std::ostream& operator<< (std::ostream& os, const Mackie::DeviceInfo& di)
{
- os << di.name() << ' '
+ os << di.name() << ' '
<< di.strip_cnt() << ' '
<< di.extenders() << ' '
<< di.master_position() << ' '