diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-07 10:25:25 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-07 10:28:07 -0500 |
commit | 80a678de28d31113b506d1ebb788fbf54618c6fa (patch) | |
tree | 88b6ef00a2343e9b5e2c3785a08f2638d651d744 /libs/surfaces | |
parent | d862c357b3f49094bdbdc11ecc7d4faed0fd1fb2 (diff) |
handle Mackie control device type ID = 0x6 (Behringer X-Touch Compact)
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/mackie/surface.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/surface.cc b/libs/surfaces/mackie/surface.cc index e4559de794..2ce7bfbee9 100644 --- a/libs/surfaces/mackie/surface.cc +++ b/libs/surfaces/mackie/surface.cc @@ -703,6 +703,13 @@ Surface::handle_midi_sysex (MIDI::Parser &, MIDI::byte * raw_bytes, size_t count } break; + case 0x06: + /* Behringer X-Touch Compact: Device Ready + */ + DEBUG_TRACE (DEBUG::MackieControl, string_compose ("Behringer X-Touch Compact ready, current status = %1\n", _active)); + turn_it_on (); + break; + case 0x03: /* LCP Connection Confirmation */ DEBUG_TRACE (DEBUG::MackieControl, "Logic Control Device confirms connection, ardour replies\n"); if (bytes[4] == 0x10 || bytes[4] == 0x11) { |