Sentdex / pygta5

Explorations of Using Python to play Grand Theft Auto 5.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keystrokes not resigtering in another game.

AmanSavaria1402 opened this issue · comments

I am trying to follow this tutorial for another game Euro Truck Simulator 2. However, when I use the strategy followed by sentdex to capture keystrokes for training data, it fails in ets2, the output array does not record any of the keystrokes I press in the game but it works perfectly outside the game.
Can anyone tell me the reason behind this and how to solve this problem?

Thanks

@AmanSavaria1402 Well, GTA V uses DirectX for key presses. I'm not sure but maybe ETS2 uses something else.

Okay, I will check.
Thank You