3 years ago
Fix the mouse input
I just went to play BFV for the first time in monts and the difference is night and day Is it really impossible to port the code use for BFV? I have never seen a AAA title where the mouse input is ...
@DuaneDibbleyI never stated I was overclocking the mouse past it's maximum polling rate. What I'm doing is increasing the polling rate for slow mouse movement.
I explained how mice poll slower when mouse movement is slow. Like 50Hz polling slow. By increasing dpi that slow mouse movement now polls at 1,000Hz. Mice can poll slower than their bInterval value by NAKing polling requests.
I explained how the mouse gets extremely stuttery in BF1 when mouse polling is set to 125Hz and the framerate capped to 125fps. Increasing mouse polling makes this stutter less noticable. The stutter is being caused by dropped mouse polls.
I have a high level understanding of USB protocol. Including USB descriptors such as bInterval. I also understand the Windows OS driver polls the mouse and the mouse responds to those polls.
The game isn't directly polling the mouse. The OS mouse driver is. That's why mice can be polled at 1,000Hz by the driver, with the game's input loop sampling the driver at 250Hz. The 250Hz engine samping is where mouse polls are being dropped. Not at the OS mouse driver level.
All I can say is I've field tested 20,000dpi with high polling rates for small mouse movements in Battlefield 1 and I've noticed a huge difference in how the mouse behaves. Smoother, more steady, and no jitter at high dpi.