Developing games for PC involves dealing with user input from mouse, keyboard, and gamepads, especially on Windows. Popular games often have mouse input issues with high-end mice due to legacy input cluttering message queues. Using the Raw Input API is key for unaltered input. Input handling can be complex, especially with high polling rate mice. Legacy input issues can lead to performance drops. Disabling legacy input can create new issues. Current solutions involve processing limited message queue events per frame to prevent performance collapse. XInput API also has performance considerations. Handling game input on Windows can be challenging, requiring creative solutions.
https://ph3at.github.io/posts/Windows-Input/