Add convenience function to find and open a device by USB VID+PID
authorDaniel Drake <dsd@gentoo.org>
Thu, 6 Mar 2008 23:43:57 +0000 (23:43 +0000)
committerDaniel Drake <dsd@gentoo.org>
Thu, 6 Mar 2008 23:43:57 +0000 (23:43 +0000)
commit23f8fb8bafeeda93ce234cb40eb7219d2e36c19c
tree8d8cf461108906423bbe4a2586859e8f7a9a459d
parent9cfdb494fccac53a4277da7c8b6d15f1a72a4959
Add convenience function to find and open a device by USB VID+PID

Lots of libusb apps I write are simple test apps not intended to be real
apps. Having a function available to quickly locate my device will be
handy in such situations.
examples/dpfp.c
libusb/core.c
libusb/libusb.h