Decided to add another of my long-standing modules to maxmods SVN. This one, BaH.libusb, enables direct access to USB devices attached to your PC.
There's a small example provided which lists attached devices. It can also be set to display lots of more verbose information about the specific devices.
Basic example output looks like this :
Descriptive text is displayed when the device returns it.
You can also "claim" an interface, with which you can then read and write to it - if you really want to do such interesting low level things like that ;-)
Docs are... okay... but I'll need to try and pad them out a little before a proper release.
More niche modules by Brucey.... :-p
There's a small example provided which lists attached devices. It can also be set to display lots of more verbose information about the specific devices.
Basic example output looks like this :
Executing:example_01.debug 0: 0x8005 0: 0x8005 0: 0x8005 0: 0x8005 0: 0x8005 0: 0x8005 0: 0x8006 0: Seagate - FreeAgentDesktop 0: 0x0264 0: Apple, Inc. - Keyboard Hub 0: Hewlett-Packard - HP LaserJet P2015 Series 0: Logitech - Logitech USB Headset 0: Apple, Inc - Apple Keyboard 0: Logitech - USB-PS/2 Optical Mouse 0: ????????y - USB Mass Storage Device Process complete
Descriptive text is displayed when the device returns it.
You can also "claim" an interface, with which you can then read and write to it - if you really want to do such interesting low level things like that ;-)
Docs are... okay... but I'll need to try and pad them out a little before a proper release.
More niche modules by Brucey.... :-p