
Windows Keyboard Fixes - Fixes sticky keys
Disables the sticky keys hotkey while playing and makes the Windows key usable for gameplay.
About this Mod
Windows Keyboard Fixes disables the sticky keys dialog while Minecraft is running and also makes the Windows key not show the Windows startscreen when having the keybindings GUI open or when there is no GUI open / when you control your character, so it can actually be used for gameplay input. If you already have the sticky keys hotkey setting disabled the mod will not change it.
FAQ
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.
Q: Why disable sticky keys system-wide?
Because even Microsoft's own documentation says to do so and as far as I know there is no other way to do it, even a few other games I tried that disable it all disable it system-wide.
Q: What happens to the sticky keys setting when the game crashes? What happens if I run multiple instances with the mod?
The mod writes information to the Windows registry (HKEY_CURRENT_USER\SOFTWARE\Minecraft\Sticky Keys) to remember what to reset the setting to when closing the game and what other processes with the mod are currently running. The first one to start get's to change the sticky keys setting and the last one to exit get's to reset it.
In the case of a crash there is also a dormant thread that get's executed to reset the setting on the shutdown of the Java VM. This is also executed when Java is killed from Task-Manager.
If the crash is however very severe (as in probably crashing the entire VM, but I don't think that happens often) or if a power outage occurs the setting will be reset the next time Minecraft is started & closed with the mod.
Q: Isn't 1/2 of the mod kind of pointless, when one can just change the sticky keys setting?
Yes. However some people, including me, automatically just hit "No" and always forget to change the setting afterwards.
Q: What happens to Windows shortcuts that use the Windows key?
Most are none functional when the key is not forwarded to the entire system. A few however, like Win+L to lock the desktop, seem to be so engraved into Windows that they are still let through.
Q: Can I use this in a modpack?
Yes.
Available Versions
How to Install Windows Keyboard Fixes - Fixes sticky keys on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "Windows Keyboard Fixes - Fixes sticky keys". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.3, 1.20.2 (+45 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Windows Keyboard Fixes - Fixes sticky keys server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.
Is Windows Keyboard Fixes - Fixes sticky keys compatible with fabric and forge?
Windows Keyboard Fixes - Fixes sticky keys officially supports fabric, forge for Minecraft 1.20.4, 1.20.3, 1.20.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Windows Keyboard Fixes - Fixes sticky keys – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Windows Keyboard Fixes - Fixes sticky keys consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Windows Keyboard Fixes - Fixes sticky keys with just one click on your server.