hidapi
hidapi copied to clipboard
Add error reporting to the MacOS port.
Initial implementation of error messages for the macOS port.
Interface mostly copied from the linux port. Messages probably need some love for the other errors being reported.
This is to resolve issue #310
Hi @hardkrash,
Are you still up to finish this PR?
I've started some changes for hidraw
backend: https://github.com/libusb/hidapi/pull/428,
those introduce a safe strategy for hid_error
and allows to proceed with the implementation for other (this one) backends.
#428 has been merged.
I guess if any objections/improvements - we'll be fixing them in master.