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

Mac: hid_open_path in non exclusive mode #453

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Mac: hid_open_path in non exclusive mode #453

wants to merge 1 commit into from

Conversation

mattsains
Copy link

This pull request revives #297 by making the change suggested in that pull request.

This build successfully on OSX Catalina with build tools from homebrew.

@Mubramaj
Copy link

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

@Youw
Copy link

Youw commented Nov 15, 2020

Please see #373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants