So, final notes:
I've fixed the original post so as not to confuse anyone.
The thing that got me started on this was the amount of MIDI devices I've seen that present as both input and output despite not having both capabilities.
For instance, I can use Audacity and select my Korg nanoKey 2 keyboard as the MIDI playback device.
When I play a MIDI file not a peep comes out of the keyboard!
So the only thing we learned from this excursion is that you can chop out two jack descriptors, one endpoint descriptor and one MIDI endpoint descriptor for the direction you are not using.
We always have to have an "external" jack and an "embedded" jack for each direction we are using.
Moreover, "external" doesn't mean external to anything really.
So, are you ready to deal with MIDI 2.0?
Unrelated warningI was working on another HID device and had left it in a beat up shape.
The next time I tried to boot my PC it would not boot at all, no splash screen, no error beeps, it just stalled.
After much experimentation I figure it out (and unplugged the offending device).
The Asus BIOS tries to enumerate the USB for keyboards before splashing the screen.
If it get something that looks like a keyboard but has serious moral flaws it freezes without a peep.