Skip to content

Add Mac-specific API to get device location ID#378

Merged
Youw merged 1 commit intolibusb:masterfrom
triplef:darwin-location-id
Feb 25, 2022
Merged

Add Mac-specific API to get device location ID#378
Youw merged 1 commit intolibusb:masterfrom
triplef:darwin-location-id

Conversation

@triplef
Copy link
Contributor

@triplef triplef commented Feb 8, 2022

As discussed in #252 (comment).

Not sure if there’s a simpler way to do this, but as I need the location ID during enumeration it seems I first need to create a IOHIDDeviceRef from the path in order to get the location ID.

Copy link
Member

@Youw Youw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Just a few comments

@mcuee mcuee added the macOS Related to macOS backend label Feb 9, 2022
@triplef triplef force-pushed the darwin-location-id branch 2 times, most recently from a7c9251 to 745c531 Compare February 9, 2022 08:47
@triplef
Copy link
Contributor Author

triplef commented Feb 9, 2022

Looks like the AppVeyor build failed spuriously:

Error uploading artifact to the storage: The request was aborted: Could not create SSL/TLS secure channel.

@Youw
Copy link
Member

Youw commented Feb 9, 2022

That is not an issue for us

@triplef triplef force-pushed the darwin-location-id branch from 745c531 to 67899b7 Compare February 9, 2022 17:44
@Youw Youw merged commit 1ce31c3 into libusb:master Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

macOS Related to macOS backend

3 participants