问题
I have device that is a USB HID Human Interface that sends keycodes to usb host when I press the keys and I just can't find a simple program that will dump all the input data that comes in my USB port? (with source code available of course. USBlyzer does it, but it's shareware)
回答1:
Check out libusb and #USBLib Both are open sourse. #USBLib is a .net wrapper around the multi platform libusb.
来源:https://stackoverflow.com/questions/7373247/read-raw-usb-input-on-windows