+ 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?

27th Dec 2020, 2:35 PM
Mustafa K.
Mustafa K. - avatar
1 Resposta
+ 1
Pls show your code, I would like to help
12th Jan 2021, 1:11 AM
Steve Sajeev
Steve Sajeev - avatar