You can find instructions on how to do this here. Please note that if you are capturing a HID traces it may also be beneficial to capture a USB trace at the same time. Note that the examples below are designed with the inbox driver stack in mind but can just as easily be adapted to 3 rd party drivers as well. In this blog post we will outline how to capture event traces for the HID driver stack and how to parse and interpret them.
There is a HID tutorial on MSDN for those interested in a quick HID refresher. for the various transports HID works with.
In Windows, the driver model for HID follows a port-miniport model with a class driver – hidclass.sys and miniport drivers like hidusb.sys, hidi2c.sys, hidbth.sys etc. By Andrea Keating and Arvind Aiyar Ī common class of USB devices is the Human Interface Device (HID) class for peripherals such as keyboards, mice, game controllers etc.