Skip to content

feat: expose macOS exclusive device open mode#24

Merged
repentsinner merged 2 commits intomainfrom
feat/darwin-exclusive-mode
Feb 26, 2026
Merged

feat: expose macOS exclusive device open mode#24
repentsinner merged 2 commits intomainfrom
feat/darwin-exclusive-mode

Conversation

@repentsinner
Copy link
Owner

Add hidDarwinSetOpenExclusive and hidDarwinGetOpenExclusive wrappers for the macOS-specific hid_darwin_set_open_exclusive and hid_darwin_get_open_exclusive functions. On non-macOS platforms the wrappers catch the missing-symbol error and return safe defaults.

Add hidDarwinSetOpenExclusive and hidDarwinGetOpenExclusive wrappers
for the macOS-specific hid_darwin_set_open_exclusive and
hid_darwin_get_open_exclusive functions. On non-macOS platforms the
wrappers catch the missing-symbol error and return safe defaults.
Platform-specific darwin exclusive mode tests now skip on non-macOS.
Add a test-macos CI job so those tests still run on every push/PR.
@repentsinner repentsinner merged commit 7bd7d25 into main Feb 26, 2026
4 checks passed
@repentsinner repentsinner deleted the feat/darwin-exclusive-mode branch February 26, 2026 08:59
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.

1 participant