-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libusb backend: stabilize device path, superseeds: #117 #291
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks perfect.
I'll test this out over the weekend, but I think we should be good with currently suggested implementation.
Looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By agreement we're using "C-style" comments only in this source file
format the path like the linux kernel does: <busnum>-<port[.port]>…:<config num>.<interface num> See also libusb#117 Closes: libusb#117
998fe4c
to
d03f799
Compare
|
Yeah. It is more about agreement/code-style/source consistency. |
I've tested this out with several of my devices. With and without hubs (multiple hubs) - so far looking good! |
Tested successfully with my keyboard driver.
|
We will need it after hidapi device path stabilization. libusb/hidapi#291 USBInit class now have its own source files.
format the path like the linux kernel does:
-<port[.port]>…:.
See also #117
Closes: #117