italomandara / CXPatcher

A patcher to upgrade Crossover dependencies and improve compatibility
GNU General Public License v3.0
834 stars 22 forks source link

CrossOver not taking controller input after patch #112

Closed AnonyMeXx closed 10 months ago

AnonyMeXx commented 10 months ago

Hello, After applying the patch, CrossOver 22.1.1 shows "Controller (Xbox One For Windows)" under 'Connected (xinput device)' but I cannot test the controller and I can't play with it. I removed the patched app and installed CrossOver again and I was able to successfully test the controller so I'm pretty sure it has something to do with the patch.

Any help is appreciated!

italomandara commented 10 months ago

We don't patch anything related to controllers and I'm pretty sure it's not cxpatcher causing this. I did some investigation and this is what I've found out: If you have your controller connected and you have the Mac Steam app running in the background it will take over the controller and creates a new device for it:

Screenshot 2023-08-29 at 18 47 24

in my case the name is different probably because I have a DS4 gamepad.

if I close the Mac steam app that device then disappears:

Screenshot 2023-08-29 at 18 47 55

So I think you left Steam for Mac open in the background by mistake, so make sure that you don't have Steam for Mac open in the background.

If that's not the case I can't really fix that but I suggest to set "Controller (Xbox One For Windows)" to "override" and then to "disable"

AnonyMeXx commented 10 months ago

I opened Activity Monitor and searched for Steam to see if anything's running in the background but it isn't, and I never have Steam open because I've seen threads of people who said that Steam assigns and remaps controllers for you ...etc. I also tried the override and disable and that didn't work either. I guess I'll have to wait until v0.4 with the CrossOver 23 update and see then. Thank you for your amazing work!

italomandara commented 10 months ago

I opened Activity Monitor and searched for Steam to see if anything's running in the background but it isn't, and I never have Steam open because I've seen threads of people who said that Steam assigns and remaps controllers for you ...etc. I also tried the override and disable and that didn't work either. I guess I'll have to wait until v0.4 with the CrossOver 23 update and see then. Thank you for your amazing work!

Another hint: disable steam input on the wine steam client

AnonyMeXx commented 10 months ago

Okay I did some more testing, and when I open "Game Controller" under "Control Panels" the first time, it registers my device. But after I test it and close the window, I think it keeps a certain task in the background that somehow takes the input from my controller to it and doesn't allow me to use it for games. And when I quit CrossOver, it gives me this popup ONLY IF I open "Game Controller": Screenshot 2023-08-29 at 23 23 29 Also, I noticed when I turn CrossOver on and then turn on my controller, it takes registers input during testing; when I have it on and then turn on CrossOver, it doesn't register any input at all. This is weird behavior but I would guess maybe it has something to do with macOS Sonoma and it being in beta and all.

Thanks for your input anyways and again thanks for this project!

italomandara commented 10 months ago

Okay I did some more testing, and when I open "Game Controller" under "Control Panels" the first time, it registers my device. But after I test it and close the window, I think it keeps a certain task in the background that somehow takes the input from my controller to it and doesn't allow me to use it for games. And when I quit CrossOver, it gives me this popup ONLY IF I open "Game Controller": Screenshot 2023-08-29 at 23 23 29 Also, I noticed when I turn CrossOver on and then turn on my controller, it takes registers input during testing; when I have it on and then turn on CrossOver, it doesn't register any input at all. This is weird behavior but I would guess maybe it has something to do with macOS Sonoma and it being in beta and all.

Thanks for your input anyways and again thanks for this project!

no worries, unfortunately I can't replicate that issue with my ds4