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

Keys not being detected while keyboard layout is in not english #3641

Closed
Okirshen opened this issue Jan 11, 2022 · 2 comments
Closed

Keys not being detected while keyboard layout is in not english #3641

Okirshen opened this issue Jan 11, 2022 · 2 comments
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Bug An unexpected or incorrect behavior

Comments

@Okirshen
Copy link

Okirshen commented Jan 11, 2022

Bevy version

0.6

Operating system & version

Archlinux

What you did

Switched keyboard layout from en-US to he-IL.

What you expected to happen

Expected bevy to capture keys and operate without a difference.

What actually happened

Bevy captures key events (tested with EventReader<KeyboardInput>) but input.pressed returns false while in a non english layout.

Additional information

Currently only tested with Russian and Hebrew without success.

Edit: Testing more I found that the scan_code in the event doesn't change but the key_code is None while in Hebrew layout.

@Okirshen Okirshen added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jan 11, 2022
@mockersf
Copy link
Member

probably related to #2052, #1666, #862

@mockersf mockersf added A-Input Player input via keyboard, mouse, gamepad, and more and removed S-Needs-Triage This issue needs to be labelled labels Jan 11, 2022
@Okirshen
Copy link
Author

I think its #2052, the scan code woks but key code is not english so its not recognized. its pretty annoying for people with other layouts,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

2 participants