Closed MstrPikachu closed 1 year ago
For whom ever fixes this in the end: (@o5k)
Instead of using .key
or .keyCode
on the Input Event, check for .code
. Might be a bit bigger bugfix, as the overall keymapping has to be ported to using the .code
-values instead. Otherwise there is no way to differentiate between the following Buttons:
As these have the same key as well as keyCode on the older input events.
Checklist
OS and Version
Windows 10
Browser and version
Desktop Client and Firefox 103.0.2 (64-bit) (latest version)
Describe the bug/issue
Whenever one of the left shift/right shift keys is pressed down, the opposite shift key being pressed will not register. The issue does not occur of the first shift key is released before the other one is pressed, in other words, they have to be down at the same time.
Example
Suppose LSHIFT is bound to hold piece and RSHIFT is bound to rotate 180. Then attempting to rotate 180 after holding (and not releasing LSHIFT) will fail.
Reproducing
Expected behavior
Pressing both shift keys at the same time should register both as inputs, and not only the one that was pressed down first.
Screenshots
No response
Console logs
Additional context
No response