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
Can't rebind keybindings if selecting keybinding button by enter or space key in KeybindsScreen
#9793
Comments
Its not a problem on other systems, its caused by Forge's keybind modifier system. I've reworked it to address some of the issues but it needs to be readdressed later to remove some of the basic assumptions it makes. |
… when multiple modifiers are pressed. Fix setting keybinds whel using keyboard inputs to select the menu. Closes #9793
Thank you for your quick work and detailed explanation! 👍 |
It functions properly in all the testing conditions I could think of. All methods, mouse, enter, and space all allow bindings to be changed properly including combinations with modifiers. Is there still and issue in the latest version? If so can you please provide EXACT details on how to reprocude. |
My first reply is a comment on your commits, not a updating report, sorry for misleading you. And I can't find & download "the latest version" or "nightly version"... I'll update the situation if it's not fixed in the later versions in the future. |
Minecraft Version: 1.20.1
Forge Version: 1.20.1-47.0.19
Logs: No error log, even no relative info log khanshoaib3/minecraft-access#204
Steps to Reproduce:
Controls...
->Keybinds...
Tab
to select one keybinding button (first isJump: Space
IIRC)Enter
orSpace
to select that keybinding and enter modify modeDescription of issue:
Nothing happens when you perform step 4.
There is a workaround: Hold
Enter
when performing step 3, then press key you want to modify (the button text will change to modified key after pressing), then release all keys.According to step by step debug, it seems like field
this.selectedKeyBinding
inKeybindsScreen
can't be set correctly at/after step 3.No problem when selecting keybinding with mouse clicking in step 3, no problem on Fabric (1.20.1), not sure if no problem on original game.
The text was updated successfully, but these errors were encountered: