Get the latest tech news
Things you should know about Windows Input, but would rather not
Motivation
I assume that there is a whole other level of complexity involved in properly dealing with accessories like steering wheels, flight sticks, and so on in simulators, but so far I never had the pleasure of working on a game that required this, and this article will not cover those types of input devices. So, that’s where we are: an entirely unsatisfactory solution that seems to work fine, and provides 8k raw input without performance collapse and without affecting “legacy” windows interactions. This is another area where an existing API is quite unsatisfactory – you generally want to avoid things that make every Nth frame take longer than the ones surrounding it, so you’d need to move all that to another thread.
Or read this on Hacker News