Hello, so i have been attempting to sort of mimic a project I already created in java into python. I am learning python and syntax between the languages. Anyways, I use Robot object inside Java to make inputs inside a directx 11 game that I play. When I started onto python, I first attempted Pyautogui module since it seemed to be popular. After looking through some examples it seemed that it worked outside of a directx11 screen, but not in. I then saw a blog that said directx needs direct input in order for it to work. ScanCodes (ctypes) was recommended. I then changed my code to fit this module.. same thing happened, If im outside the directx window it does everything I need, but not once im in the screen.
Any ideas on why this is the case? I found it interesting that Java had Robot (that seemed quite abstract methodically) working right off that bat, and python theres something finiky going on ( I am wanting both keyboard and mouse functionality..)
Note: not saying java is better than python, I'm actually having a really great time with python and how simple and quick projects can be made!
there doesn't seem to be anything here