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

Update RGFW and replace long switch in rcore_desktop_rgfw.c with a lookup table #4108

Merged
merged 15 commits into from
Jun 28, 2024

Conversation

ColleagueRiley
Copy link
Contributor

I finally got around to writing a proper abstraction for keycodes for RGFW. This PR includes that and many quality updates/fixes RGFW.

JeffM commented on how rcore_desktop_rgfw.c uses a long switch for converting keycodes. That's not great for performance, this PR replaces it with a lookup table.

@ColleagueRiley
Copy link
Contributor Author

Not sure why this claims there were 13 commits 😅

@ColleagueRiley
Copy link
Contributor Author

It should be good now 👍

@raysan5 raysan5 merged commit 84971d8 into raysan5:master Jun 28, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Jun 28, 2024

@ColleagueRiley Nice! Thanks for the improvement!

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.

None yet

2 participants