Use window pollEvent to check keyboard state
Opened this issue · 0 comments
Abergard commented
Current implementation read keyboard state even the window is not in focus.
Tutorial: https://www.sfml-dev.org/tutorials/2.5/window-events.php
Opened this issue · 0 comments
Current implementation read keyboard state even the window is not in focus.
Tutorial: https://www.sfml-dev.org/tutorials/2.5/window-events.php