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 support for errors in hid_error on MacOS #310

Closed
hardkrash opened this issue Jul 22, 2021 · 2 comments
Closed

Add support for errors in hid_error on MacOS #310

hardkrash opened this issue Jul 22, 2021 · 2 comments
Labels
macOS Related to macOS backend

Comments

@hardkrash
Copy link
Contributor

The IOreturn value can be passed to the c library function mach_error_string to provide the error string for the error that was raised.

mach_error_string is defined in mach_error.h

char *mach_error_string(mach_error_t error_value); and a IOReturn is a version of mach_error_t

@mcuee
Copy link
Member

mcuee commented Jul 31, 2021

@hardkrash Please help to create a pull request. Thanks.

@Youw
Copy link
Member

Youw commented Mar 12, 2023

Oh, this is done as part of #314.
Available in the latest release.

@Youw Youw closed this as completed Mar 12, 2023
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

No branches or pull requests

3 participants