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

KeyEvent modifier inconsistent for capital letters #421

Closed
extrawurst opened this issue Apr 21, 2020 · 0 comments · Fixed by #423
Closed

KeyEvent modifier inconsistent for capital letters #421

extrawurst opened this issue Apr 21, 2020 · 0 comments · Fixed by #423

Comments

@extrawurst
Copy link
Contributor

Describe the bug
As discussed in the Discord: I observed that on *nix platforms the KeyEvent of a capital letter does not contain the Shift modifier and on Windows it does.

To Reproduce

run the example event-poll-read and press a capital letter (e.g Shift+D)

on mac:

Event::Key(KeyEvent { code: Char('D'), modifiers: NONE })

on windows (cmd.exe and PowerShell)

Event::Key(KeyEvent { code: Char('D'), modifiers: SHIFT })

Expected behaviour
The same consistent behaviour, not sending the Shift-Modifier.

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 a pull request may close this issue.

1 participant