dcuddeback / libusb-rs

A safe Rust wrapper for libusb.
MIT License
200 stars 65 forks source link

Richo/hotplug events #42

Open richo opened 3 years ago

richo commented 3 years ago

Hi! I finally got something working as far as libusb callbacks go. This PR is a mess, I mostly wanted to run the API past you before I clean things up and unify (I created some aspirational modules while I was noodling and obviously it's not great to have a module with one enum in it).

I'll add some comments for the parts I'd like you to look at. Thanks!