<p>Hello,<br><br>I'm using PyUSB 0.4.2 to interact with a Microsoft Sindwinder joystick. I'm using python 2.6 on windows XP. With the code snippet below I'm able to find usb device currently plugged into my computer. Now I would like to actually tap into the data that to joystick is providing to the system. For now I just want to watch the data and see what it looks like as I move the joystick around. Does anyone know a good tutorial, or can point me in the right direction? <br>
<br>Script:<br>import usb<br>for bus in usb.busses():<br>    for dev in bus.devices:<br>        print "Bus %s Device %s: ID %04x:%04x %s" % (bus.dirname, dev.filename, dev.idVendor, dev.idProduct, dev.open().getString(1,30))<br>
<br><br><br><br>Result:<br>Bus bus-0 Device <a href="file://\\.\libusb0-0005--0x04f2-0xb071">\\.\libusb0-0005--0x04f2-0xb071</a>: ID 04f2:b071 CNF7129<br>Bus bus-0 Device <a href="file://\\.\libusb0-0006--0x045e-0x0038">\\.\libusb0-0006--0x045e-0x0038</a>: ID 045e:0038 Microsoft</p>