On Sun, Nov 27, 2011 at 8:54 AM, Wander Lairson Costa <wander.lair...@gmail.com> wrote: > As far as I know, libusb is problematic with HID devices, you should > take a look at hidapi [2], but I don't know if there is any python > binding for it. > > [2] http://www.signal11.us/oss/hidapi/
Yes there is a new Python binding for HIDAPI. https://github.com/gbishop/cython-hidapi Also a simple one here. http://comments.gmane.org/gmane.comp.python.pyusb.user/749 libusb is a bit problematic with HID device under Windows because that libusb-1.0 maintainers decide not to support native HID backend. It is also problematic under Mac OS X because you need to write a codeless kext to prevent the kernel driver to attach to the HID device in order to use libusb. So HIDAPI is probably a much better choice for generic HID device. BTW, if it is for Windows only (not in this case), there is another Python HID package here. http://code.google.com/p/pywinusb/ -- Xiaofan ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users