MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

USB HID help?
MUFF WIGGLER Forum Index -> nw2s  
Author USB HID help?
Jcsveth
Are there any examples for reading and writing an HID packet over USB? I have a couple of devices (Snyderphonic Manta and the VMeter) which I would like to interface to.
scottwilson
Not HID specifically, but the basic USB building blocks are there.

If you take a look at the 1.1.0 branch, you can see that I've moved all of the SAM USB drivers into the project... It includes some HID libraries, but I haven't been using them.

https://github.com/nw2s/b/tree/b-1.1.0-unstable/gcc/app/src/drivers/us bhost

But if you look at the usb devices we've created so far, you'll see the type of work you need to do to get some USB code running...

https://github.com/nw2s/b/blob/b-1.1.0-unstable/gcc/app/src/devices/Us bMidi.h

https://github.com/nw2s/b/blob/b-1.1.0-unstable/gcc/app/src/devices/Us bPS3.cpp

https://github.com/nw2s/b/blob/b-1.1.0-unstable/gcc/app/src/devices/Gr id.cpp

HID is kinda a pain in the ass compared to things like the monome which uses a USB-TTY chip. I'm not sure why folks insist on using HID USB clients...

Let me know if that's what you're looking for...

s
MUFF WIGGLER Forum Index -> nw2s  
Page 1 of 1
Powered by phpBB © phpBB Group