Problem while handling KeyCode in french keyboard
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy 0.9.1
The problem come from the bevy_input i guess. I was trying to use the plugin : bevy-console which by default use the key ~ to open the console. I opened an issue into bevy_console before: https://github.com/RichoDemus/bevy-console/issues/31
## What went wrong
So normally, if i press the ~ key, the console should appears, nevertheless, if you're using a french keyboard some keycode can't be used (or at least i didn't find any way). Like the Keycode::Grave, LBracket, RBracket, Backslash, Apostrophe. And bevy-console is mapped by default on KeyCode::Grave.
I've noticed that all the KeyCode that are mapped on number key in french cannot be used in french.
For exemple :
In french: { is Alt Gr + 4, in eng it's not on number key.
} is Alt Gr + + in french.
And in bevy input we only have the KeyCode 4 or plus which seem normal to me. But if i press the location it is supposed to be in english. Bevy doesn't detect any keycode.
Contributor guide
Assessment
This issue has not been assessed yet.