hello.
i'm using windows, and as far as i can understand, for HID devices, you dont need any driver.
so why, all of the examples provided with v-usb use libusb as the way to comunicate with hid devices ?
what are the pros and cons of libusb vs windows hid driver ?
thanks
why libusb ?
Re: why libusb ?
Why do you think, that we are using libusb driver for HID devices? All projects can operate with windows drivers too! And i think you question is not for creating new thread in forum. Try to read more about USB standart and about v-usb too! Good luck, Saimon!
Re: why libusb ?
If you have a real HID device, you don't need libusb. See the hid-data example. The only limit here is that you have fixed size descriptors for your data.
If you want more fine grained control (like in e.g. hid-custom-rq or custom-class), you need libusb.
If you want more fine grained control (like in e.g. hid-custom-rq or custom-class), you need libusb.