maruohon / malilib

Library mod for masa's client-side Minecraft mods
GNU Lesser General Public License v3.0
294 stars 124 forks source link

[1.17.1] Some keystrokes are not processed after switching the language (Win+Space) #55

Closed Felix14-v2 closed 3 years ago

Felix14-v2 commented 3 years ago

Description The keyboard shortcuts responsible for opening the GUIs and performing some functions stop working after switching the language by pressing Win+Space (Alt+Shift is fine). Refocusing on the game window solves the problem. [Demo]

Technical Litematica v0.0.0-dev.20210713.103711 Malilib v0.10.0-dev.24

logs, if needed.

maruohon commented 3 years ago

In the demo video it looks like the Win key is left stuck? So pressing it once should unstuck it? There is nothing I can do in the mod to fix them getting stuck (if the LWJGL library does not receive the key release event, then it thinks it's still being held down).

But in the main development code I have already changed all of the hotkeys to allow extra keys by default. So once the rewrites in 1.12.2 are finished and ready to be ported forward, that will become the new default setting. You can change that already manually via the Advanced Keybind Settings for each hotkey, where it not allowing extra keys is problematic.

Felix14-v2 commented 3 years ago

Hm, this is completely solve my problem :) image