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.

How to Install Raw Input Buffer (Mod)

Raw Input Buffer by Walksy is verified for Fabric across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5 (latest release: 1.2.0+26.3, file size: 41 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Raw Input Buffer file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
15d ago 1
26.2
Fabric
15d ago 1
26.1.x
Fabric
15d ago 1
1.21.11
Fabric
15d ago 1
1.21.x
Fabric
15d ago 1
1.21.x
Fabric
15d ago 1
1.21.6
Fabric
15d ago 1
1.21.5
Fabric
15d ago 1
1.21.4
Fabric
15d ago 1
1.21.x
Fabric
15d ago 1
1.21.x
Fabric
15d ago 1
26.1.x
Fabric
7mo ago 1
26.1.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
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
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