Skip to content
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

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

Merged
merged 1 commit into from
Feb 25, 2022

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

mac/Makefile.am Outdated Show resolved Hide resolved
mac/hidapi_darwin.h Outdated Show resolved Hide resolved
@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

mac/hid.c Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS Related to macOS backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants