csutorasa / XOutput

DirectInput to XInput wrapper
MIT License
1.11k stars 96 forks source link

Xoutput not working on wireless when not focused #829

Open blakey855 opened 6 months ago

blakey855 commented 6 months ago

Hi,

So I've used the program alot lately and it worked great for my wired NS controller and even worked with my NS wireless controller (can't remember if it straight forward or there were initial problems). It got messed up when I connected the controller to my phone and then it just reverted back to NS, not xbox. Not emulation.

Right now i've done this - Hide it from everything but Xoutput with HidHide. Emulate it with Xoutput. Controller show only 1 controller - the emulated. This works awesome on the wired, wireless causes problem -

For some odd reason it works like it should, emulated, only when xoutput is focused. When i focus the game it just stop responding all together, and I can see Xoutput doesn't acknowledge the input at all. Again - only when it's focused does it register.

Any help please? thank you.

Edit - I can tell you it's got to do with the refresh asewll. As if close the controller and turn it on again it wont emulate\respond until I refresh and it gets added again - emulated. Maybe a way to force it to keep refreshing or something? remain focused in background?

HidHide only allowing the Emulated Xbox Xoutput responding when focused Not responding when not focused

blakey855 commented 6 months ago

Just tested it from my other, work laptop. Same issue. It will work just fine, emulated, when the game is in small screen and the xoutput window is in a screen aswell but it's focused. It will stop responding when you focus on the game itself only. Xoutput then will not register inputs with the usual green overlay it has.

F-valenca commented 3 months ago

I have the same issue, is there any workaround? idk, keep both apps focused?