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 certain characters being recognized as special keys on Windows when using the us international layout #38820

Merged
merged 1 commit into from
May 18, 2020

Conversation

ericrybick
Copy link
Contributor

As supposed by the participants of #25548, the problem is that certain characters emit special key signals additionally. I found this post on stackoverflow bringing some light into the darkness.

I have implemented a simple check to see if a WM_CHAR message sends a special key signal, and if so, the message is discarded.

Fixes #25548

@Calinou Calinou added bug cherrypick:3.x Considered for cherry-picking into a future 3.x release platform:windows topic:editor topic:input labels May 18, 2020
@Calinou Calinou added this to the 4.0 milestone May 18, 2020
@ericrybick
Copy link
Contributor Author

Thanks for reviewing!

I've changed the code according to your comments.

@akien-mga akien-mga merged commit 9844cd4 into godotengine:master May 18, 2020
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.2.2.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Writing quotation marks makes cursor jump to the bottom of the page [Windows, US International layout]
4 participants