Try ARDUINO_USB_MODE=2 (native MIDI only)
Disable CDC, use ESP32 core native USB MIDI stack
This commit is contained in:
+2
-2
@@ -13,8 +13,8 @@ build_unflags =
|
|||||||
-DARDUINO_USB_MODE=1
|
-DARDUINO_USB_MODE=1
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
-DARDUINO_USB_MODE=0
|
-DARDUINO_USB_MODE=2
|
||||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
-DARDUINO_USB_CDC_ON_BOOT=0
|
||||||
-DUSE_TINYUSB=1
|
-DUSE_TINYUSB=1
|
||||||
|
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ UsbMidiTransport::~UsbMidiTransport() {
|
|||||||
bool UsbMidiTransport::begin() {
|
bool UsbMidiTransport::begin() {
|
||||||
Serial.println("[MIDI] Setting up USB MIDI device...");
|
Serial.println("[MIDI] Setting up USB MIDI device...");
|
||||||
|
|
||||||
// Novation Launchpad X identifiers so Loopy Pro recognizes us
|
|
||||||
TinyUSBDevice.setID(0x1235, 0x0103);
|
|
||||||
TinyUSBDevice.setManufacturerDescriptor("Novation");
|
TinyUSBDevice.setManufacturerDescriptor("Novation");
|
||||||
TinyUSBDevice.setProductDescriptor("Launchpad X");
|
TinyUSBDevice.setProductDescriptor("Launchpad X");
|
||||||
TinyUSBDevice.setSerialDescriptor("LPX00001");
|
TinyUSBDevice.setSerialDescriptor("LPX00001");
|
||||||
|
|||||||
Reference in New Issue
Block a user