Stefano Di Martino wrote:
> What now? My program has to run under windows.

If you want to communicate with the HID class interface then I
suggest to try out HIDAPI.

HIDAPI was created specifically to abstract OS-native HID class APIs
on Linux, Windows, and Mac OS X.

While the Windows-specific HID class code for emulating USB transfers
over HID in libusbx does use the same OS-native API as HIDAPI (maybe
even some code from HIDAPI?) it isn't (currently) as portable.

I don't know what the longer-term plan in libusbx is regarding HID
class support. One idea would be to integrate HIDAPI wholesale in
order to emulate USB transfers over HID also on Linux and OS X. I
don't believe there were suggestions in any direction so far, but
I think using more of HIDAPI in libusbx would be a logical extension.


//Peter

------------------------------------------------------------------------------
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

Reply via email to