-
Notifications
You must be signed in to change notification settings - Fork 14
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
Exclude HIDAPI support on iOS to avoid CoreBluetooth
references
#188
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Every function in SDL_hidapi.g.cs
should be marked with [UnsupportedOSPlatform("iOS")]
.
The attribute has been added manually to all members of the |
Instead of manually adding to the |
Ah, better idea for now. |
Closing as we've agreed in ppy/osu#31162 to just state that we don't use CoreBluetooth's API. |
Intended to (fix) ppy/osu#31162 (comment). The constant is documented in https://wiki.libsdl.org/SDL3/CategoryHIDAPI, read last paragraph.
This can be confirmed to work by checking the SDL3 binary against
otool
. Here's a diff between last package and this PR: