跳到正文

Raw Input Buffer

作者:Walksy

Reduces input lag and frame rate drops caused by mouse polling events - allowing you to use high polling rate mice

收藏

介绍

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

Raw Input Buffer

This mod aims to reduce input lag, micro-stutters, and frame rate drops caused by Minecraft’s default mouse handling. This is especially noticiable on polling rates above 1000 Hz, where frame rates can drop by 50-70% when moving the camera around, depending on the polling rate. With this mod installed you’ll be able to use polling rates higher than 1000 Hz with no stutters.

My testing was done using a mouse with a polling rate of up to 8000 Hz.


Solution:

This mod intercepts and replaces Minecraft’s mouse handling. Instead of relying on GLFW, the mod communicates directly with the Windows Kernal and offloads mouse polling to a dedicated, asynchronous background thread using a hidden window class.
When the cursor is locked in game, standard legacy mouse data is no longer generated, freeing up CPU resources.

Compatability:

Windows OS only: This mod relies on native Windows APIs and will automatically disable itself on other operating systems.


Credits

  • Mod: Walksy

I created this mod around 4-5 weeks ago but noticed a similar concept was recently added to Ixeris by decce6. While the implementations differ, both mods achieve similar results. I recommend you try them both out.

常见问题

Raw Input Buffer 支持哪些 Minecraft 版本?

Raw Input Buffer 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Raw Input Buffer 怎么安装?

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

评论

登录后评论和评分

Walksy 的其他作品

查看全部 →