Description
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:
Contact me via comment, message, or github issue: https://github.com/morelandjo/Win-KB-Fix-Returns
Do not contact the original author
Can you update the forge mod, backport, or create the mod with a different framework (fabric etc)
I'm only focused on Neoforge 1.21.1 and up for all current and future mods. I'm not interested in Forge or other frameworks.
Can you update this mod to Neoforge 1.xx (some future version)
Yes probably, let me know what versions you're interested in
Would you consider updating other old mods to Neoforge?
Yes, as long as they have a github and an open license I will consider it. Feel free to private message me with requests.
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.


