跳到正文

Windows Keyboard Fixes Returns

作者:vodmordia

Fix Windows sticky keys, now for Neoforge!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

 

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

常见问题

Windows Keyboard Fixes Returns 支持哪些 Minecraft 版本?

Windows Keyboard Fixes Returns 支持 Minecraft Java 版 1.21.1–1.21.8,共 6 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Windows Keyboard Fixes Returns 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

vodmordia 的其他作品

查看全部 →