On 2012.10.29 19:30, Peter Stuge wrote: > Since libusbx > replicates what HIDAPI (and libusb-win32) does, and then adds > onto that, libusbx is indeed higher level than HIDAPI.
You can reverse the above. HIDAPI replicates what libusbx (and libusb-win32) does and then adds onto that. Only in your reality distortion field does HIDAPI seem to mimic the Windows HID API exactly. But if that is indeed the case, why use HIDAPI at all on Windows? >> unlike libusb, we don't see it as beneficial to force users to go >> through 2 libraries when one should do. > > That is confusing. Only if you fail to consider that some libusbx users may want their app to access BOTH HID and non HID USB devices. Or reuse more generic existing libusb/libusbx code. Or have provisions to switch away from HID for their device in the future, if HID was used as an easy means to solve the driver installation issue on Windows. Could probably add some more... > HIDAPI doesn't depend on libusb. > > HIDAPI can optionally use libusb, Now isn't that interesting? Then why on earth would we drop all that good stuff Alan Ott added to HIDAPI and do a 180 to have libusb/libusbx use HIDAPI? If anything we should try to leverage what exists. > but that's only useful on old > Linux systems where the OS-native HID API was insufficient. Still, that's something that could be reused, as opposed to something that doesn't exist and that we would have to code for from scratch. Anyway, we've been through that already and you're free to do whatever you please with libusb, as you did with HID. Don't take it personally if we choose not to follow your ways in a project that forked mostly so that we wouldn't have to. Regards, /Pete ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel