Closed juunr95 closed 3 years ago
Does it weird in original NOLF2?
Yes
Added SDL backend (#34). Does it resolves the issue?
Yes, that solves it, but I would like to understand why the original code has this problem.
My guess is because of the way DirectInput handles raw input.
Internally, DirectInput creates a second thread to read WM_INPUT data, and using the DirectInput APIs will add more overhead than simply reading WM_INPUT directly.
Also the engine reads only one event per request for system mouse device.
System mouse device has a special name in configuration file - ##mouse
.
Did anyone realize that, in high polling rate, mouse movements seens weird ? Like making a wave ?