csutorasa / XOutput

DirectInput to XInput wrapper
MIT License
1.16k stars 99 forks source link

Xbox Series controller Xinput into Virtual Xinput not working when XOutput window is not in focus #756

Open murphdolton opened 1 year ago

murphdolton commented 1 year ago

I have no issues with Dualsense or Switch controllers, but with my Series and Xbox One controllers I can successful map them in Xoutput, however game applications aren't picking up the mapping on the Virtual Xinput controller at all

Why am I trying to map Xinput to Xinput? Well when you are trying to play multiplayer, a cable or wireless connection momentarily disconnecting can cause all sorts of issues. I'd prefer to have permanently connected virtual controllers so that a physical controller momentary disconnecting doesn't mess everything since if you also have the physical controllers hidden in HidHide so the game never actually sees any controllers being disconnected and then reconnected. Also some games have issues with non-360 xinput controllers and just want to see a standard 360 pad.

Thanks!

Edit: If I'm using parsec, XOutput lets me map the virtual parsec 360 controller to a virtual xoutput controller.

Edit: I noticed that XOutput registers my PS5 controller inputs (the controller flashes green in XOutput) while the window is out of focus. However, it does not register my Xbox Series controller inputs while the window is out of focus, it only works while it is in focus

murphdolton commented 1 year ago

Alright I can confirm Xbox Series controller Xinput into Virtual Xinput is working, however only WHILE the XOutput window is currently in focus. This is definitely a bug (at least for me). Partially work around-able if you are playing games in a window and they accept input while in the background but really not ideal

Edit: had the exact same issue on a totally different PC

ProjectXsent commented 1 year ago

Have you tried running XOutput as Admin?

murphdolton commented 1 year ago

Hmm, just tried that along with compatibility modes, etc., but it didn't work. Thanks though

murphdolton commented 1 year ago

I was also trying Protoinput to try to get XOutput to work in the background, but that didn't work. I also tried 3.0 to see if there was some reversion, but that release has the issue as well

GPJailbreak commented 1 year ago

I'm also having this issue as far as I can tell, I bought one of these a few weeks ago and for some odd reason it will not register any button presses outside of the program. I've tried running it as admin, and making sure the dependencies are installed right but nothing's changed.