PDA

View Full Version : [WIN32 C/C++] USB Device



MuffinFlavored
12-21-2007, 07:53 PM
I have plugged my Guitar Hero III guitar into my USB port, and I used it to play Frets on Fire, because Windows Vista has a driver for it.

Is there a specific USB API/SDK I can use?
I just want to be able to tell when the device sends input.

Thank you!

tobe22
12-25-2007, 11:12 AM
it's a little overkill, and there's probably a more lightweight method, but here you go:

http://msdn2.microsoft.com/en-us/library/bb173045(VS.85).aspx

MuffinFlavored
12-25-2007, 03:59 PM
If anyone every wants to do this, SDL is the way to go.

http://www.libsdl.org/
Great for joysticks.