moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
10.55k stars 616 forks source link

I can't use the Switch Joycon handle. #716

Closed Kevin-1117 closed 2 years ago

Kevin-1117 commented 2 years ago

Hello everyone, I currently encounter a problem when using Moonlight: I can't use the Switch Joycon handle. The Joycon can be recognized by the Bluetooth connection on the computer, which are respectively Joycon (L)/(R), but on the game PC, it is recognized as the Xbox 360 Controller 0/1. There is no response to pressing the buttons of the controller. After testing, it was found that the Switch Pro handle can be used normally, and it is also recognized as an Xbox 360 Controller. The game PC system is windows11. The client system is windows 11. The game is Yuzu (Nintendo Switch Emulator).

Cousken commented 2 years ago

I have more or less the same issue, but more specifically - the "DPad" buttons don't work as a DPAD. When testing them via Gamepad Tester on my android, the input is received but simply isn't mapped to the DPAD function. Is there some way to solve this?

cgutman commented 2 years ago

Unfortunately, this is an upstream issue with SDL. Moonlight will gain support for it when SDL implements it.

slouken commented 2 years ago

FYI, Joy-Con support is implemented in SDL 2.24.0

happyharryh commented 2 years ago

FYI, I have built a branch of moonlight-qt with a CemuHook server embedded recently. So that we can send accel and gyro data to the yuzu on the game PC, and play the games which require motion sensor (e.g. Just Dance, Splatoon) remotely~ :p