All keystrokes in my UWP 10 game are delayed by mouse input. It has two effects:
When holding any key, the input continues after I physically release. This ends when I stop moving the mouse around quickly.
When I press a key, while moving the mouse around quickly, the input is not received until I stop moving the mouse around.
This is event that is firing late.
window.KeyDown += CoreWindow_KeyDown;
What’s the cause? How can get instant keyboard state?