switchbrew / switch-examples

Switch examples for devkitA64 and libnx.
https://devkitpro.org/viewforum.php?f=42
559 stars 99 forks source link

please more example USB HS #68

Closed rayPopo closed 5 years ago

rayPopo commented 5 years ago

I wonld write an nro to read from usb midi device,but usb example too sample to do please update usb example add read data form usb device. thanks!

yellows8 commented 5 years ago

R/W is exactly the same, just different endpoints...

rayPopo commented 5 years ago

thank you for your post. I use usb example connect Roland SPD-30 usb midi cable, usbHsEpPostBuffer return 0xcc8c WechatIMG24

yellows8 commented 5 years ago

Don't just use the usbhs example, actually impl the protocol for your device.

That's a known error with [8.0.0+] with the original example, but the example doesn't impl the protocol for mass-storage either...

rayPopo commented 5 years ago

thank you for your post! but switch usb hs dev too hard to me. i give up this project then i will open a new project use arduino dev a midi in single convert to sim gamepad button.