riflosnake / HumanCursor

Simulate Human Cursor Movement for Automated Scripts
MIT License
87 stars 16 forks source link

does not work on virtual machines #13

Open thelege2ndG opened 2 months ago

thelege2ndG commented 2 months ago

I'm trying to use this fantastic library, but I've encountered an issue: it doesn't seem to move the mouse in games running on streaming services like GeForce Now. While it works fine on my local machine and outside the game window, the mouse movement isn’t detected within open-world games that require mouse navigation. Could you please update the repository to support this, or suggest some potential workarounds that I can try? Thank you so much for your help!

riflosnake commented 2 months ago

Hi

Thanks for the feedback!

I'm not currently developing on this library anymore, but for what I quickly researched, it could be this problem: https://stackoverflow.com/questions/45295482/pyautogui-dont-work-in-game-window.

One answer suggests to replace pyautogui with pydirectinput.(on humancursor/system_cursor.py) It should have the same properties and methods. Maybe try this workaround, and let me know!