Page 1 of 1

USB HID Data Transfer for Gamepad

Posted: Sat Nov 28, 2009 8:09 am
by Tillin9
Hi, I'm researching around on the best way to add a the ability to transfer small amounts of data (~32K) from an EEPROM on a USB game pad. I was hoping there might be an easy way to do this with pure USB HID so I won't have to do a composite device or write a custom driver.

Anybody have any useful information on how to do this? For example what descriptors I might need?

Thanks in advance.

Re: USB HID Data Transfer for Gamepad

Posted: Sat Nov 28, 2009 7:33 pm
by ulao
I too am interested in this. I was thinking of trying to implement this
viewtopic.php?f=8&t=3399
but figure there could be a more elegant way. However I have not yet started researching it much. If you do find a way please do report back, if no others here have a thought.

Re: USB HID Data Transfer for Gamepad

Posted: Sat Nov 28, 2009 11:50 pm
by Guest
I was debating a composite device with USB mass storage as one of the sub devices. The big problems there are complexity, need a whole other set of descriptors and to implement an appropriate interface. Also there is the bulk transfer issue with V-USB.

The option I was leaning towards was HID raw - see http://www.pjrc.com/teensy/rawhid.html while this example is for a Teensy (AVR with hardware USB), it is my belief that simply adding the descriptors and some basic code should make this work with any HID capable device.

Re: USB HID Data Transfer for Gamepad

Posted: Wed May 04, 2011 1:42 am
by ulao
Sorry to dig this up but, any luck with this?