Page 1 of 1

why libusb ?

Posted: Wed Dec 16, 2009 7:35 pm
by solata10
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

Re: why libusb ?

Posted: Thu Dec 17, 2009 12:56 am
by Saimon
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 ?

Posted: Tue Dec 22, 2009 5:13 pm
by christian
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.