|
Windows 键盘修复 (Windows Keyboard Fixes)Github |相关wiki |源站链接支持: fabric , forge这个模组可以修复粘键的问题,禁用粘键热键,使得在游戏过程中可以使用 Windows 键进行操作。
功能介绍
Windows 键盘修复在 Minecraft 运行时禁用了粘键的对话框,并使得 Windows 键在键绑定界面开启、无界面开放时或者操控角色时不再显示 Windows 开始屏幕,因此可以用于操作输入。如果已经在设置中禁用了粘键热键,该模组不会改变它。
*FAQ*
Q: *这是如何实现的?*
粘键: 当在游戏标题界面或者游戏加载完毕时,该模组通过 Windows 的API设置了一个系统范围的标志来禁用粘键热键设置。在关闭游戏时,设置会被重置。
Windows 键:基本上我使用了低级别的 Windows 键盘钩子来让除 Windows 键以外的其他按键自动通过。只有当打开了除键绑定界面以外的 GUI 时,Windows 键才会正常通过。
Q: *为什么要系统范围地禁用粘键?*
因为就连微软官方的https://learn.microsoft.com/en-us/windows/win32/dxtecharts/disabling-shortcut-keys-in-games#disable-the-accessibility-shortcut-keys]文档也建议这样做,据我所知,没有其他方法可以做到,甚至我试过的一些其他游戏都是系统范围地禁用。
Q: *游戏崩溃时粘键设置会发生什么?如果我运行了多个带有这个模组的实例会怎样?*
该模组将信息写入Windows注册表(HKEY_CURRENT_USER\\SOFTWARE\\Minecraft\\Sticky Keys)以记住在关闭游戏时需要重置的设置以及当前正在运行该模组的其他进程。第一个启动的进程将会更改粘键设置,最后一个退出的进程将会重置它。
在发生崩溃的情况下,还有一个休眠的线程会在 Java VM 关闭时执行重置设置的操作。当从任务管理器中结束 Java 进程时,也会执行这个操作。
然而,如果崩溃情况非常严重(比如可能使整个虚拟机崩溃,但我认为这并不经常发生)或者发生了断电情况,设置将会在下一次用这个模组启动并关闭 Minecraft 时重置。
Q: *当可以直接改变粘键设置时,这个模组的一半功能似乎有点多余了吧?*
是的。然而一些人,包括我在内,自动地只是点击“否”,然后总忘记之后修改这个设置。
Q: *使用 Windows 键的快捷方式会怎样?*
当键不再转发到整个系统时,大多数快捷方式都无法使用。然而,一些快捷方式,比如 Win+L 锁定桌面,似乎已经固定到 Windows 中,仍然可以使用。
Q: *我可以在模组包中使用这个模组吗?*
可以。
如果您希望,可以在Twitter / X上关注我。
来自Modrinth所有游戏版本1.171.17.11.181.18.11.18.21.191.19.11.19.21.19.31.19.41.201.20.11.20.21.20.31.20.41.151.15.21.161.16.51.81.8.91.91.9.41.101.10.21.111.11.21.121.12.21.7.101.8.11.8.21.8.31.8.41.8.51.8.61.8.71.8.81.9.11.9.21.9.31.10.11.11.11.12.11.16.11.16.21.16.31.16.4所有类型forgefabricWin KB Fix - V1.0.1 - Forge - 1.17 to 1.20Windows Keyboard Fixes-forge-1.17-to-atleast-1.20-1.0.1-all.jar下载1.0.1#ReleaseThis update is mostly to please curseforge, as they, understandably, didn\'t like the way the mod gets the other running processes.Get other processes through JNA instead of tasklist.exe展开版本: 1.0.1支持游戏: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4类型:ForgeRelease下载次数: 8,416Win KB Fix - V1.0.1 - Fabric- 1.17 to atleast 1.20Windows Keyboard Fixes-fabric-1.17-to-atleast-1.20-1.0.1.jar下载1.0.1#ReleaseThis update is mostly to please curseforge, as they, understandably, didn\'t like the way the mod gets the other running processes.Get other processes through JNA instead of tasklist.exe展开版本: 1.0.1支持游戏: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4类型:FabricRelease下载次数: 9,846Win KB Fix - V1.0.1 - Forge - 1.15 to 1.16Windows Keyboard Fixes-forge-1.15-to-1.16-1.0.1.jar下载1.0.1#ReleaseThis update is mostly to please curseforge, as they, understandably, didn\'t like the way the mod gets the other running processes.Get other processes through JNA instead of tasklist.exe展开版本: 1.0.1支持游戏: 1.15, 1.15.2, 1.16, 1.16.5类型:ForgeRelease下载次数: 193Win KB Fix - V1.0.1 - Fabric - 1.15 to 1.16Windows Keyboard Fixes-fabric-1.15-to-1.16-1.0.1.jar下载1.0.1#ReleaseThis update is mostly to please curseforge, as they, understandably, didn\'t like the way the mod gets the other running processes.Get other processes through JNA instead of tasklist.exe展开版本: 1.0.1支持游戏: 1.15, 1.15.2, 1.16, 1.16.5类型:FabricRelease下载次数: 111Win KB Fix - V1.0.1 - Forge - 1.8 to 1.12Windows Keyboard Fixes-forge-1.8-to-1.12-1.0.1.jar下载1.0.1#ReleaseThis update is mostly to please curseforge, as they, understandably, didn\'t like the way the mod gets the other running processes.Get other processes through JNA instead of tasklist.exe展开版本: 1.0.1支持游戏: 1.8, 1.8.9, 1.9, 1.9.4, 1.10, 1.10.2, 1.11, 1.11.2, 1.12, 1.12.2类型:ForgeRelease下载次数: 1,740Win KB Fix - V1.0.1 - Forge - 1.7Windows Keyboard Fixes-forge-1.7-1.0.1.jar下载1.0.1#ReleaseThis update is mostly to please curseforge, as they, understandably, didn\'t like the way the mod gets the other running processes.Get other processes through JNA instead of tasklist.exe展开版本: 1.0.1支持游戏: 1.7.10类型:ForgeRelease下载次数: 413Win KB Fix - V1.0.0 - Forge - 1.8 to 1.12Windows Keyboard Fixes-forge-1.8-to-1.12-1.0.0.jar下载1.0.0#Release展开版本: 1.0.0支持游戏: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2类型:ForgeRelease下载次数: 138Win KB Fix - V1.0.0 - Forge - 1.7Windows Keyboard Fixes-forge-1.7-1.0.0.jar下载1.0.0#Release展开版本: 1.0.0支持游戏: 1.7.10类型:ForgeRelease下载次数: 64Win KB Fix - V1.0.0 - Fabric - 1.15 to 1.16Windows Keyboard Fixes-fabric-1.15-to-1.16-1.0.0.jar下载1.0.0#Release展开版本: 1.0.0支持游戏: 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5类型:FabricRelease下载次数: 96Win KB Fix - V1.0.0 - Forge - 1.15 to 1.16Windows Keyboard Fixes-forge-1.15-to-1.16-1.0.0.jar下载1.0.0#Release展开版本: 1.0.0支持游戏: 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5类型:ForgeRelease下载次数: 85Win KB Fix - V1.0.0 - Fabric - 1.17 to atleast 1.20Windows Keyboard Fixes-fabric-1.17-to-atleast-1.20-1.0.0.jar下载1.0.0#Release展开版本: 1.0.0支持游戏: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2类型:FabricRelease下载次数: 103Win KB Fix - V1.0.0 - Forge - 1.17 to atleast 1.20Windows Keyboard Fixes-forge-1.17-to-atleast-1.20-1.0.0-all.jar下载1.0.0#Release展开版本: 1.0.0支持游戏: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2类型:ForgeRelease下载次数: 101全部版本
文章类型:收录layui.use([\'form\'], function(){
var form = layui.form;
});
Windows 键盘修复 |
楼主
2025-8-10 19:56:01
回复(0)
收起回复
|