yannbouteiller / vgamepad

Virtual XBox360 and DualShock4 gamepads in python
MIT License
169 stars 21 forks source link

Prevent a game (Fortnite) from reading the mouse input? #24

Closed BobJr23 closed 8 months ago

BobJr23 commented 8 months ago

This is a great project, works really well. One issue I had was preventing the mouse input from being read by Fortnite. It seems to be capturing both (even after suppressing mouse events in pynput). Do you have a solution to this, or way to prevent the mouse input from being read (but still working with pynput listening to mouse). Sorry if that didn't make sense, thanks for the project!

yannbouteiller commented 8 months ago

Hi, I don't know how to prevent Windows from sending mouse input to Fortnite. Maybe this SO can help, but it certainly sounds painful as you need to code your own specific driver for that apparently.

(Closing the issue as it is not related to vgamepad)