| Summary: | iOS static library needs to have hidapi file added to compile sources | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Dominik Reichardt <sdl-bugzilla> |
| Component: | *don't know* | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | iPhone/iPod touch | ||
| OS: | iOS (All) | ||
| Attachments: | patch that adds hidapi main file to compile sources for all static targets | ||
|
Description
Dominik Reichardt
2020-11-27 23:57:41 UTC
Created attachment 4545 [details]
patch that adds hidapi main file to compile sources for all static targets
This patch adds the necessary hidapi files to all three static targets.
The solution for most people is to disable SDL_JOYSTICK_HIDAPI support on iOS builds, as they probably don't need Steam Controller support and this removes a Bluetooth dependency. I'll ponder the best way to handle this, and in the meantime we should document that if you're building with the static library then you should disable that. Okay, this is disabled by default on iOS and tvOS: https://hg.libsdl.org/SDL/rev/4257e4cd0c60 Thanks, I'll need to test but it looks as that suits my simple needs ;) But eventually you probably need to figure out how to andle this static build IF you want hidapi to be enabled. Oh, that's easy, just make the same change that your patch does. I just don't want to force everybody to do that by default. |