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

Cast all SDL_Keycode types to common type #10070

Closed
wants to merge 3 commits into from

Conversation

bjadamson
Copy link

I'd like to resolve issue #10020

I want to contribute back to SDL as it's the backbone of my project, this is my attempt to either resolve or jump start a conversation about resolving this issue.

Description

The first commit vertically aligns all type definitions to make it easier to read.
The second commit casts the definitions to SDL_Keycode in order to remove errors when comparing SDL_Keycode values against the raw values directly.

Existing Issue(s)

#10020

@slouken
Copy link
Collaborator

slouken commented Jun 20, 2024

I'm in the middle of a bunch of keyboard changes, so please hold off on this for now. I do plan to address #10020 as part of that work.

@bjadamson
Copy link
Author

Ok I'll wait -- do you have something I can watch for updates? I'm not very active in discord etc..

@slouken
Copy link
Collaborator

slouken commented Jun 20, 2024

Yep, check this out:
main...slouken:SDL:keyboard

slouken added a commit to slouken/SDL that referenced this pull request Jun 22, 2024
@slouken slouken closed this in c9cfa46 Jun 22, 2024
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