All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Raw Input Buffer

Raw Input Buffer

by Walksy • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
10d ago 1
26.2
Fabric
10d ago 1
26.1.x
Fabric
10d ago 1
1.21.11
Fabric
10d ago 1
1.21.x
Fabric
10d ago 1
1.21.x
Fabric
10d ago 1
1.21.6
Fabric
10d ago 1
1.21.5
Fabric
10d ago 1
1.21.4
Fabric
10d ago 1
1.21.x
Fabric
10d ago 1
1.21.x
Fabric
10d ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Fabric
7mo ago 1
1.21.x
Fabric
7mo ago 1
1.21.x
Fabric
7mo ago 1
1.21.x
Fabric
7mo ago 1
1.21.x
Fabric
7mo ago 1
1.21.x
Fabric
7mo ago 1
1.21.x
Fabric
7mo ago 1
1.21.x
Fabric
7mo ago 1
1.21.x
Fabric
7mo ago 1
1.21.x
Fabric
8mo ago 1
1.21.x
Fabric
8mo ago 1
1.21.x
Fabric
8mo ago 1
1.21.x
Fabric
8mo ago 1
fix:accumulated mouse deltas flushed when closing a HandledScreen
Fix: reset mouse deltas on cursor grab/release
Remove chat debugging (oops)
fix: not being able to drag items around in user's inventory
fix: race conditions when handling mouse button events
Raw Input Buffer Icon
Download Raw Input Buffer
Select game version
Select platform