Windows computers have an accessiblity setting called sticky keys, which opens a popup confirmation box when you press the shift key 5 times in a reasonable amount of time.
This is problematic in Minecraft, mostly creative, because when flying shift is the default key to lower the player. My daughter would run into this problem when she was younger, accidentally opening the popup while flying, which takes you out of the game. I found this mod which fixes that issue, but that was back in 1.14 I think, and the original mod hasn't been updated.
This mod disables the sticky keys function and also prevents windows keys from opening the start menu. It's possible to do all of this by adjusting windows settings, but some people might not want to (or not realize you can) do that for whatever reason, so this is a handy replacement mod.
This mod was originally created by rimo2022 for several versions of Forge and has been updated by vodmordia (me) to work with Neoforge. The old version is available on github under MIT license:
https://github.com/JohnBaccaratDev/Win-KB-Fix
General FAQ:
Who do I contact for issues with this mod:
I am also including one question from the original mod which explains how this works, fyi, this updated version uses this same functioanlity:
Q: How was this done? Sticky keys: When at the title screen / when the game is finished loading the mod sets a system wide flag to disable the sticky keys hotkey setting through Windows' APIs. When closing the game the setting is then reset.
Windows key: I basically use a low-level Windows keyboard hook to let every other key automatically through other than the Windows keys. The Windows key is only let through normally when a GUI screen is open other than the keybindings screen.
Thank you to the following Patrons for keeping my projects alive:
Whiro (Patron Ultimate)
Cabo Sneaker (Patron Plus)
If you would like to assist with development and get access to other cool features you can do so here: https://www.patreon.com/cw/Vodmordia
