joystick 5 nov, 2022 @ 20:53
XBOX Controller problem
I'm using macos 10.15 and everything has been working fine for many years. However, I haven't started Steam and games for a long time. A year at least.
Last weekend I took some time to play and found out that my XBOX wireless controller is not working properly. It pairs correctly with the system. Works in games downloaded from App Strore (eg Asphalt), but in games from Steam it does not work. Oddly enough, it works in the Big Picture interface, but regardless of whether I launch the game this way or directly from the Steam client in games, it does not work. I checked in The Talos Principle, Cuphead, Chicken Invaders 5.
Does anyone know how to restore the former functionality?
< >
Visar 16-24 av 24 kommentarer
tintingaroo 26 nov, 2022 @ 7:42 
Ursprungligen skrivet av mondwan:
* If I disable the steam ctrl in per game, the game (unrailed) will show me that it can detect a xbox controller (the game asked me to press A button). But, there are no responses from any buttons I pressed on the xbox ctrl
* I tried different combinations between the global xbox ctrl / per game settings. Unfortunately, I could not find one that work for my case.

Do you have the Steam overlay enabled and is it accessible in the games?

If you give this permission (System Preferences > Security & Privacy > Accessibility > Enable Steam), it should at least mean Steam's keyboard emulation will work. Then you could map the Controller Layout for the game to keyboard controls (enable global or per game Steam Input support, right-click the game > Manage > Controller Layout).

I don't know if giving Steam that permission also results in working gamepad emulation.

I found that Unrailed is using SDL so I would have thought it would work natively with the controller...
Try this: enable Xbox Config Support, see if any Xbox 360 controllers show up there on the Controller Settings screen. If not, start a game, then quit and check again. If you see any XB360's, select one then press the Menu button. Steam should hide them. Then try Unrailed again with global and per game Steam Input disabled.


For Skul, if you upload the Managed & PlugIns folders I can check how things are and we can see if modding things helps. I know it uses InControl and perhaps it doesn't have the profile for the Xbox Wireless controller in the version they are using.
Skul.app/Contents/Resources/Data/Managed
Skul.app/Contents/PlugIns/

Could also see if there is any success with Skul when Global and per-game Steam Input disabled while the XB360's are hidden.
Senast ändrad av tintingaroo; 26 nov, 2022 @ 7:44
mondwan 26 nov, 2022 @ 13:30 
* After enabling Accessibility, my controller is able to simulate the keyboard input.
** In other words, my xbox controller will honour the button configuration in desktop settings
** I tried to hide the controller from steam, and disabled the per game settings. Unrailed can detect my controller. But, still, no responses from my controller. Any suggestions? Or, I should just map the buttons with the keyboard for this game?
** For skul, after unhiding the controller from steam + with default settings in game, my controller works effectively. Thanks. But, when I tried to pressed many buttons simultaneously, the controller will be freeze for maybe some seonds. Any reasons for that?
Senast ändrad av mondwan; 26 nov, 2022 @ 14:31
tintingaroo 26 nov, 2022 @ 14:42 
I just checked out the Unrailed store page and they mention "Only wireless gamepads are supported." for the macOS version. So try via Bluetooth if not doing so already. If BT makes no difference then go for the buttons mapped to keyboard.
I still think the controller could be made to function with the game though, perhaps I'll come across good info.

For Skul, I think you may be facing the issue as others in this thread https://steamcommunity.com/app/1147560/discussions/0/3113644379503004837/

And perhaps some in this thread
https://steamcommunity.com/app/1147560/discussions/0/3109141414214464336/

If you want me to mod the Mac files you could follow this post:
https://steamcommunity.com/app/1147560/discussions/0/3113644379503004837/#c3273564671177024401 (I did post modded files further in that thread but I believe they are Windows files.)


Or if you have a Windows installation, I can provide info on how to mod it. Or could also go for keyboard emulation (not sure if Skul uses analogue inputs though).
mondwan 26 nov, 2022 @ 15:17 
Thanks for the quick response.

For Unrailed, I will go for the keyboard mapping since I relied bluetooth on connecting my xbox controller

For Skul, I bet the fix in the unity forum should work. A little shocked that this bug was not yet fix after a year omg. If I would like compile that dll myself, how to do it myself?
tintingaroo 26 nov, 2022 @ 16:39 
1. Copy the Managed and PlugIns folder from the game to a Windows installation
Posting link again to steps to locate them if needed:
https://steamcommunity.com/app/1147560/discussions/0/3113644379503004837/#c3273564671177024401

2. On Windows get dnSpy
Main github page: https://github.com/dnSpy/dnSpy
Link to latest release downloads: https://github.com/dnSpy/dnSpy/releases

3. Run dnSpy, drag-and-drop the Managed folder into the left window pane (Assembly Explorer) of dnSpy
or
File > Open > navigate to the Managed folder > select all its files > OK

4. Go to the Search bar with Ctrl+Shift+K, or if it's displayed, can click it in lower section of right window pane

5. Enter into Search (case is not important): InControl.InputManager.AttachDevice

6. Double-click the search result: AttachDevice. This takes you to the method. If not seeing that result, to the right of the Search text box, set Search For to 'All of the Above'.

7. Open the method for editing with Ctrl+Shift+E, or can right-click within the method > Edit Method (C#)..

8. After
InputManager.AssertIsSetup();
, copy-paste:
if(inputDevice.IsUnknown){return;}
(on a new line below or after on same line is OK, dnSpy will handle it)

9. To compile, press F6 or can click Compile.

10. To save all, press Ctrl+Shift+S or go via File > Save All. Choose OK. This saves changes to the file InControl.dll (can check the filename text box to see)

11. On the Mac, delete/rename the original InControl.dll and paste in the modded version.
mondwan 27 nov, 2022 @ 4:57 
Thanks. Let me give it a try later on.
mondwan 14 dec, 2022 @ 15:03 
I got another problem in Castle Crasher. It is similar to below thread. It looks like the game duplicated my controller profiles some how.

I have tried to disable the accessibility in my mac / disable all buttons in controller settings. nothing helps. Any ideas how to fix this?

https://steamcommunity.com/app/204360/discussions/0/611702631217645512/?l=turkish
LuckyNumber13 17 dec, 2023 @ 12:06 
Ursprungligen skrivet av mondwan:
I got another problem in Castle Crasher. It is similar to below thread. It looks like the game duplicated my controller profiles some how.

I have tried to disable the accessibility in my mac / disable all buttons in controller settings. nothing helps. Any ideas how to fix this?

https://steamcommunity.com/app/204360/discussions/0/611702631217645512/?l=turkish


I also have this problem. Only in steam. Trough EPIC all games work fine. Have you fixed it somehow?
mgo14269 17 dec, 2023 @ 23:35 
nice
< >
Visar 16-24 av 24 kommentarer
Per sida: 1530 50

Datum skrivet: 5 nov, 2022 @ 20:53
Inlägg: 24