libusb backend: stabilize device path, superseeds: #117 #291
No reviewers
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi!291
Loading…
Reference in a new issue
No description provided.
Delete branch "libusb_stable_path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
format the path like the linux kernel does:
-<port[.port]>…:.
See also https://github.com/libusb/hidapi/pull/117
Closes: #117
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.
By agreement we're using "C-style" comments only in this source file
@ -484,15 +484,29 @@ err:return str;//is AFAIK C99 and above... anyway, pull request has been updatedYeah. 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.