From: Nicolas P. <nic...@aa...> - 2016-09-15 11:23:35
|
Le 15/09/2016 à 11:48, Joe a écrit : > Am 15.09.2016 um 09:01 schrieb Nicolas Pinault: >> Under Windows, USB HID devices have to be accessed through the HID API, >> not the USB API. This means you can't use PyUSB with HID devices under >> Windows. >> >> Try this package : https://pypi.python.org/pypi/hid/0.1.1 >> >> Nicolas >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> pyusb-users mailing list >> pyu...@li... >> https://lists.sourceforge.net/lists/listinfo/pyusb-users > What's the best method to install it? My test machine runs under Win 10 > Version 1607 (64 Bit) with Python. Didn't get it running with the infos > from https://pypi.python.org/pypi/hid/0.1.1 > Regards - Joe I don't install it. I just copy __init__.py in my sources folder and rename it hid.py. As this module uses ctypes to work, you also need hidapi.dll. > > ------------------------------------------------------------------------------ > _______________________________________________ > pyusb-users mailing list > pyu...@li... > https://lists.sourceforge.net/lists/listinfo/pyusb-users > . > -- *Nicolas PINAULT R&D electronics engineer *** ni...@aa... <mailto:ni...@aa...> *AATON-Digital* 38000 Grenoble - France Tel +33 4 7642 9550 http://www.aaton.com http://www.transvideo.eu French Technologies for Film and Digital Cinematography Follow us on Twitter @Aaton_Digital @Transvideo_HD Like us on Facebook https://www.facebook.com/AatonDigital |