fyhuang / enjoy2

Transform joystick input into keyboard and mouse events (OSX)
MIT License
363 stars 55 forks source link

Enjoy2 doesn't work if Steam is open at the same time #46

Open peteygao opened 1 year ago

peteygao commented 1 year ago

Steam's multiple controller support on M1 MacBooks are piss poor and I'm trying to remap my two controllers to keyboard buttons to play Kingdom Two Crowns in co-op. Using Steam's built-in controller support has the two controllers interfering each other in very odd ways (one person's input will "stutter" and cut off another player's controller input, for example).

For what it's worth, I've disabled all Steam's native controller handling options in the Steam Controller settings page, but I know for a fact that doesn't quite disable controller support because you can still navigate the Steam's Big Picture mode with the controller despite everything being "disabled". But nothing I can do about that at this point.

Reproduction steps:

  1. Start Enjoy2
  2. Pair a BT controller with macOS (I'm using DualShock 4)
  3. Press any key on the DS4 and see that Enjoy2 properly detects the key πŸ‘πŸΌ
  4. Launch Steam πŸ’¨
  5. Press any key on the DS4 and see that Enjoy2 no longer detects it πŸ‘ŽπŸΌ
  6. Power cycling controller to re-connect does nothing
  7. Quitting Steam at this point also doesn't fix it
  8. Power cycle the controller with Steam closed, and then the controller is back to being detected by Enjoy2

This is frustrating as heck, does no one else run into this issue?! 🀯

System:

MacBook Pro (14-inch, 2021) macOS 12.5 Monterey Apple M1 Pro