Usbhidio
This is the readme file for the usbhidio application, which includes host software for
communicating with USB HID-class devices.
Usbhidio is brought to you by
Jan Axelson
Lakeview Research
www.Lvr.com
(Usbhidio means Universal Serial Bus (usb) Human Interface Device (hid) Input/Output (io)
application.)
Files
In addition to this file (readme.doc), Usbhidio includes the following files:
Usbhidio.vbp is a Visual-Basic 6 project that finds the device and exchanges data with it.
Apideclarations.bas contains declarations for the Win32 API functions used in the project.
frmMain.frm is the project’s form.
usbhidio.exe is the executable file created from usbhidio.vbp.
Rights information
The computer software provided in the usbhidio2.zip file provided as-is. You have a royalty-free
right to use, modify, reproduce and distribute this software (and/or any modified version) in any
way you find useful, provided that you agree that Jan Axelson and Lakeview Research have no
warranty, obligation or liability for their contents!
Project Info
'Project: usbhidio.vbp
'Version: 2.1
'Date: 7/21/05
'
'Purpose: demonstrates USB communications with a HID-class device
'Description:
'Finds an attached device that matches specific vendor and product IDs.
'Retrieves the device's capabilities.
'Sends two bytes to the device using Input reports.
'Receives two bytes from the device in Output reports.
'(For testing, the example device firmware adds 1 to the received bytes
'and sends them back.)
'A list box displays the data sent and received,
'along with error and status messages.