unknownskl / greenlight

Greenlight is an open-source client for xCloud and Xbox home streaming made in Typescript.
MIT License
2.21k stars 124 forks source link

[Bug] Controller Not Recognized After 2.1.1 update (MacOS Sonoma 14.0) #1144

Open alexventi opened 8 months ago

alexventi commented 8 months ago

Describe the bug

I have been using previous versions without issue (after enabling input monitoring for the Greenlight app), up until today when I installed the latest update. Now my controller (Xbox Elite Series 2) is not being recognized by the Greenlight app.

It's successfully paired to the computer (pressing the xbox button opens the "Launchpad" on Mac) however it does not appear in the inputs in Greenlight. I also started a stream just in case, and confirmed the controller did not work.

I was able to get it to connect by using the workaround posted here from a previous issue, launching Greenlight through the Terminal allowed the controller to be recognized and play normally. However even after doing this, opening the app normally still does not result in controller connection.

While it technically does work through launching from Terminal every time, obviously it would ideally work seamlessly through normal launches as it did before. I did a full restart of my computer and controller to troubleshoot and neither of those resolved the issue.

To Reproduce

  1. Open Greenlight
  2. Go to Input Settings
  3. Controller not appearing even when pressing buttons

Expected behavior

Expected behavior is for controller to connect and appear in input settings and work within xbox stream.

Environment

- OS: MacOS Sonoma 14.0
- Device: Macbook Pro 2019
- Greenlight version: 2.1.1

Anything else?

No response

New issue

flapjacksf commented 8 months ago

I'm having the same issue but launching from terminal doesn't seem to do the trick for me, I'm on Sonoma 14.2.1

alexventi commented 7 months ago

can confirm this issue (and solution so far) persists on v2.20

DarkxPunk commented 7 months ago

I have experiencing the same issue on v2.2.1. Returning to v2.2.0 resolves the issue.

I am running Sonoma 14.4.

eqlion commented 7 months ago

I've got the same issue on v2.2.1, v2.2.0, v2.1.0. MacOS Sonoma 14.1.1, MacBook Pro 14" M1 Pro with Xbox Controller Elite 2. The controller is connected successfully to the MacBook via BT, it's detected by the system (ie pressing the xbox button brings up the launchpad, it's also correctly detected as an xbox controller) and by the https://hardwaretester.com/gamepad, but it's not shown in the Input section of settings in Greenlight. I've tried previous version and known hacks:

The list of inputs in the app is still empty. The input monitoring permission was requested and I've approved it in the MacOS privacy settings and restarted Greenlight afterwards. I've also tried rebooting the MacBook (just in case), but it also didn't help. Would be happy to provide more info for debugging if needed.

serafimpinto commented 6 months ago

Same here! @eqlion Also connecting the gamepad with USB doesn't work either

Taillow500 commented 6 months ago

I'm experiencing this from Windows as well. If I connect my controller wirelessly to my console it works just fine however if I plug it in via usb to my computer my console throws up a notification stating that its no longer detected.

DarkxPunk commented 6 months ago

Problem persists on the latest version 2.3.1 in macOS Sonoma.