vpelletier / python-libusb1

Python ctype-based wrapper around libusb1
GNU Lesser General Public License v2.1
168 stars 65 forks source link

Example on how to use python asyncio event loop with hotplug API #32

Closed hetsch closed 6 years ago

hetsch commented 6 years ago

Hi Vincent,

you have an hotplug_advanced.py file in your examples directory which shows how to use libusb1 with a custom event loop and custom pollers. What I don't understand right now is how to use libusb1 in conjunction with python's asyncio library (to use/reuse asyncio's event loop). If it is not too much work, it might help if these advanced examples would integrate such an example.

hetsch commented 6 years ago

I close it because this is not an issue more a question of implementation.