Open mattsains opened 4 years ago
I use this library with a keyboard that has a volume knob and some media keys to control de musique. When the path is opened with kIOHIDOptionsTypeSeizeDevice according to the apple documentation:
Used to open exclusive communication with the device. This will prevent the system and other clients from receiving events from the device
So the MAC OS was not recognizing the volume knob events or the media key events.
This pull request solves the issue because it uses the non exclusive mode.
Why this pull request is not being merged ? @signal11 I am just curious
Please see #373
This pull request revives https://github.com/signal11/hidapi/pull/297 by making the change suggested in that pull request.
This build successfully on OSX Catalina with build tools from homebrew.