Using HID USB-device in applications

Hello everyone I want to use a custom HID device in an application that I am developing. I am using Colibri T20 running Windows CE 7. As far as I know, there is a HID driver in the operating system, can I use it for my application to just read messages from my device? How can I do this? Or do I need to write a new driver?

Hi @dr.modi ,

Unfortunately the HID driver cannot be accessed from an application directly. The generic hid driver will only look for more specific hid drivers (like mouse or keyboard, or custom drivers). So you need to write a custom HID driver to access the data. There are some examples in platform builder on how to do that.