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

fix: Update GamepadsDarwinPlugin.swift to conditionally reference sfSymbolsName #23

Merged
merged 1 commit into from
May 2, 2024
Merged

Conversation

markvideon
Copy link
Collaborator

As per issue #18, sfSymbolsName is only available in macOS 11.0 or newer, but the getValues method references it without use of conditional compilation. The result is that the example project cannot be compiled on macOS.

The proposed change provides a default label for each type of GCControllerElement (e.g. "Unknown button" for a button) which is then overridden by the sfSymbolsName property if it is available.

…ymbolsName depending on macOS version. See Issue #18
@gotnull
Copy link

gotnull commented Apr 30, 2024

@markvideon You might want to resolve the markdown-lint check that failed when you get a chance.

@markvideon
Copy link
Collaborator Author

@markvideon You might want to resolve the markdown-lint check that failed when you get a chance.

This PR doesn't modify any README files, I consider it a seperate issue

@gotnull
Copy link

gotnull commented May 1, 2024

This PR doesn't modify any README files, I consider it a seperate issue

Yeah, I just noticed that. I on the other hand submitted a PR with a modified README.md and it's passed. Agree on it being a separate issue.

Copy link
Member

@spydon spydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@spydon spydon merged commit cfe9d33 into flame-engine:main May 2, 2024
5 of 6 checks passed
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