-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Ctrl and Shift key events masked when one already pressed #12993
Comments
Works as expected on master ca19403
|
I get a very similar but much less straightforward issue. It's easiest to sum it up as "if I map an action to shift or use Update: The issue I am talking about seems to be explicitly addressed by #18185, so I'll move my focus over there. |
Since #18020 claims to fix this issue, I assume it's still reproducible in the master branch so changing milestone :) |
Well I just tested and I also can't reproduce the bug in OP (on Linux/X11), I have the same results as #12993 (comment) Updated test project: @bruvzg Is #18020 still addressing this issue, and if so what part of it? |
I am also unable to reproduce the bug on Arch Linux, eb70999, using the example project. |
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10 Pro Build 15063 x86_64
Godot v2.1.4.stable.official 64-bit
Update
I just confirmed masking to be present on Ubuntu Mate 16.04 w/ Linux 4.10.0-35-generic
Issue description:
When either control or shift are mapped to an action and pressed, pressing one key will mask all events of the other key. I believe this is due to their property as modifier keys.
To workaround, don't use both control and shift in player controls.
Steps to reproduce:
With the inputs of shift and control monitored in some fashion in _input:
Link to minimal example project:
input_bug_test.zip
Just open the test scene and run it.
I have m_ctrl mapped to Control and m_shift mapped to Shift, and the events of either being pressed or released printing to the debug console.
The text was updated successfully, but these errors were encountered: