Description:
I think Lunar Client should add Raw Input Buffer as a built in mod. This mod fixes a pretty big issue where Minecraft's default mouse handling causes major frame rate drops and micro stutters, especially if you are using a mouse with a polling rate above 1000 Hz. We are talking 50 to 70% FPS drops just from moving your camera around, which is insane for a client that is supposed to be optimized for competitive play.
The way the mod works is by bypassing GLFW entirely and communicating directly with the Windows kernel, offloading mouse polling to a dedicated background thread (As my understanding) . This frees up CPU resources and lets you use polling rates of 2000 Hz, 4000 Hz, or even 8000 Hz without any issues whatsoever.
A lot of Lunar Client users are using high polling rate mice like the Logitech G Pro X Superlight 2 or Razer Viper V3 HyperSpeed, so this would be a huge quality of life improvement for the competitive playerbase.
Sources : This mod is available on Modrinth and GitHub and it is made by Walksy under the project name Raw Input Buffer.