handle Mackie control device type ID = 0x6 (Behringer X-Touch Compact)
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 7 Feb 2016 15:25:25 +0000 (10:25 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 7 Feb 2016 15:28:07 +0000 (10:28 -0500)
libs/surfaces/mackie/surface.cc

index e4559de794aad64b11756d7a7eabbc9ca70ee89c..2ce7bfbee90f3baa103b5261c251b74c9e0e541a 100644 (file)
@@ -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) {