It looks (to me at least - I'm not exactly a USB guru :) like MIDI devices aren't actually HID devices, which means that you have to specify a configuration descriptor (not just the report descriptor like you do for HID).
Now I can change Espruino to allow that, but it's all getting quite low-level then, as if you want to be able to use Espruino's serial port as well your descriptor has to include a USB CDC descriptor as well - and you have to make sure you've got the right endpoint numbers.
I just wonder how many people would be up for fiddling with that - however it looks like there are at least 2 so far, so I might end up putting it in :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Andrew,
There was actually a question about this here too: http://forum.espruino.com/conversations/268671/?offset=25#comment12401332
It looks (to me at least - I'm not exactly a USB guru :) like MIDI devices aren't actually HID devices, which means that you have to specify a configuration descriptor (not just the report descriptor like you do for HID).
Now I can change Espruino to allow that, but it's all getting quite low-level then, as if you want to be able to use Espruino's serial port as well your descriptor has to include a USB CDC descriptor as well - and you have to make sure you've got the right endpoint numbers.
I just wonder how many people would be up for fiddling with that - however it looks like there are at least 2 so far, so I might end up putting it in :)