-
Notifications
You must be signed in to change notification settings - Fork 17
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
German keyboard adds a ^-sign #13
Comments
Thanks for the report. I'll look into it! |
Hmm, I'm not getting that behavior. For me, I have to type ^ twice, even when typing normally. I press it once, and nothing happens. I press it again, and two ^^'s show up (in a normal text box). In-game, I just have to tap it twice to open or close the console, but I don't get a ^ character showing up. There's something special about the way the OS handles that key. What OS are you on, and what exact keyboard language are you using? If the OS is reporting 2 key presses to Godot, I'm not sure how best to deal with that. 🤔 Edit: Oh, I see the problem. The ^ doesn't show up until you start typing. That makes it even harder to work around, as I can't just ignore input for 1 frame or something. How is this even supposed to behave under normal circumstances? This is so weird. |
The main annoyance is that you have to press the key twice to toggle the console. People that are impacted are used to deal with the ^ appearing, source and quake console also don't try to solve that part of the issue. As long as you press the physical key the console should toggle, no matter what state the deadkey is in. |
Right. The problem is the Godot engine itself doesn't send the pressed event until the key is pressed a second time. I don't think I can fix that without modifying the engine. There's an issue about it on the main Godot repo here: godotengine/godot#94517 If you have any idea how to fix it, let me know! |
I had a quick look, cause I was not able to reproduce the problem on my Linux/Gnome machine. I tried it on Windows and can confirm the issue, that is described here. Just want to point out that it's also OS specific. In addition I also noticed another thing that might be only slightly related. On Windows a double tap of Circumflex closes the console. On Linux the console is only closable with Escape, as soon as the console is visible. So there might also be a mismatch here. |
Hi jitspoe,
nice console. On my German keyboard the ~-key is a ^-key. When I open the console, in the console line a ^-sign is added, this has to be removed always manually.
Is there a fix?
Thanks
Mike
The text was updated successfully, but these errors were encountered: