All keystrokes in my UWP 10 game are delayed by mouse input. It has two effects:
1) When holding any key, the input continues after I physically release. This ends when I stop moving the mouse around quickly.
2) 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?