summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/device_info.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-01 14:39:17 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-01 14:39:59 -0600
commitae3d9deefb4e88c85111f818eb909763561e0d60 (patch)
tree42eb489986cf0c66e8ca2071bebbbe48a3c15864 /libs/surfaces/mackie/device_info.cc
parent79cb57e31a87af095d668d9d66fad64343784221 (diff)
Support for the iCON Qcon mcp device - sysex strings. Submitted by Michal Barhon.
Diffstat (limited to 'libs/surfaces/mackie/device_info.cc')
-rwxr-xr-x[-rw-r--r--]libs/surfaces/mackie/device_info.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/device_info.cc b/libs/surfaces/mackie/device_info.cc
index 979be6b76b..e5a54fdab5 100644..100755
--- a/libs/surfaces/mackie/device_info.cc
+++ b/libs/surfaces/mackie/device_info.cc
@@ -56,6 +56,7 @@ DeviceInfo::DeviceInfo()
, _uses_logic_control_buttons (false)
, _uses_ipmidi (false)
, _no_handshake (false)
+ , _is_qcon(false)
, _has_meters (true)
, _has_separate_meters (false)
, _device_type (MCU)
@@ -320,6 +321,12 @@ DeviceInfo::set_state (const XMLNode& node, int /* version */)
_has_meters = true;
}
+ if ((child = node.child ("IsQCon")) != 0) {
+ child->get_property ("value", _is_qcon);
+ } else {
+ _is_qcon = false;
+ }
+
if ((child = node.child ("HasSeparateMeters")) != 0) {
child->get_property ("value", _has_separate_meters);
} else {
@@ -457,6 +464,12 @@ DeviceInfo::no_handshake () const
}
bool
+DeviceInfo::is_qcon () const
+{
+ return _is_qcon;
+}
+
+bool
DeviceInfo::has_touch_sense_faders () const
{
return _has_touch_sense_faders;