+ 2
Keyboard simulations doesn't work in a game
I imported pynput to the project and I am able to simulate the keys on keyboard in python. However when I focus on game screen keypresses do not work but when I focus on an input field that is inside the game keypresses work. What do you think might be the problem here?
1 Resposta
+ 1
Pls show your code, I would like to help