If it is not possible to have VENDOR_ID and PRODUCT_ID separately defined for MIDI and Serial, would it be possible to define them via name.c like MANUFACTURER_NAME and PRODUCT_NAME can be, how?
This is what I have now on the name.c that is on same directory as the .ino
Code:
// To give your project a unique name, this code must be
// placed into a .c file (its own tab). It can not be in
// a .cpp file or your main sketch (the .ino file).
#include "usb_names.h"
// Edit these lines to create your own name. The length must
// match the number of characters in your custom name.
//Launch Control XL n
#define MIDI_NAME {'L','a','u','n','c','h',' ','C','o','n','t','r','o','l',' ','X','L'} // Launch Control XL
#define MIDI_NAME_LEN 17
#define MANU_NAME {'F', 'o', 'c', 'u', 's', 'r', 'i', 't', 'e', ' ', 'A', '.', 'E', '.', ' ', 'L', 't', 'd'}
#define MIDI_MANU_LEN 18
// Do not change this part. This exact format is required by USB.
struct usb_string_descriptor_struct usb_string_product_name = {
2 + MIDI_NAME_LEN * 2,
3,
MIDI_NAME
};
struct usb_string_descriptor_struct usb_string_manufacturer_name = {
2 + MIDI_MANU_LEN * 2,
3,
MANU_NAME
};