Ryochan7 / DS4Windows

Like those other ds4tools, but sexier
https://ryochan7.github.io/ds4windows-site/
GNU General Public License v3.0
6.93k stars 802 forks source link

Touchpad mouse not working on UAC programs can be fixed? #3211

Open Trihy opened 8 months ago

Trihy commented 8 months ago

Describe the bug Not sure if this is a bug. But on UAC programs, touchpad seems to stop working.

To Reproduce Steps to reproduce the behavior: In this case tired with MSI afterburner, touchpad mouse stop when you click msi ab window. Click outside that window and touchpad mouse works again.

Expected behavior Working on uac?

Screenshots and Logs

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Ryochan7 commented 8 months ago

That is considered a Windows security feature. It is an intentional limitation with the SendInput API. There are two ways around such behavior depending on what windows you interact with.

  1. Run DS4Windows as the Administrator
  2. Use FakerInput rather than SendInput
Trihy commented 8 months ago

Not sure about fakerinput, will have to take a look at that.

I thought DS4W was always running as admin. Do you think making DS4W as a task with admin privileges will be enough?