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

Use base key for key event in GTK #2668

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Conversation

psyGamer
Copy link
Contributor

GTK seems to already apply modifiers to the sent key. For example, pressing ; will get the semicolon key from GTK. But Shift + ; will get the colon key from GTK, which isn't mapped in Eto.
This this, it'll now properly report the key event as Keys.Semicolon in e.Key and Keys.Shift in e.Modifiers.

This should close #2645

@cwensley
Copy link
Member

Nice fix! Thanks for the contribution.

@cwensley cwensley added the bug label Jun 29, 2024
@cwensley cwensley added this to the 2.8.4 milestone Jun 29, 2024
@cwensley cwensley merged commit c24702f into picoe:develop Jul 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Weird behavior with key events for some keys
2 participants