Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 1 of 1

Thread: Configurable usbMIDI Port Names

  1. #1

    Configurable usbMIDI Port Names

    For those interested I've added a way to configure the usbMIDI Port Names, these are changed in the same manner as the Manufacturer Name, Device Name, and Serial Number. So to change the names from the default "Port 1" - "Port 16" you add the following struct to the name.c in your project, one for each port number.

    #define MIDI_PORT1_NAME {'T', 'e', 'e', 'n' ,'s' ,'y' ,' ' ,'1'}
    #define MIDI_PORT1_NAME_LEN 8
    struct usb_string_descriptor_struct usb_string_midi_port1 = {
            2 + MIDI_PORT1_NAME_LEN * 2,
    Click image for larger version. 

Name:	Teensy Port Names.png 
Views:	12 
Size:	55.7 KB 
ID:	13083
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts