Moonlight-Switch icon indicating copy to clipboard operation
Moonlight-Switch copied to clipboard

[Feature Request] Change exposed controller

Open korewaChino opened this issue 7 months ago • 2 comments

Please add an option to expose a different type of controller, possibly as an option in the layout settings.

Currently Moonlight-Switch only exposes the virtual controller as an Xbox controller.

korewaChino avatar Apr 15 '25 13:04 korewaChino

It's actually should expose itself as PS controller to enable Gyro support, but you can manually change it in Sunshine settings

XITRIX avatar Apr 15 '25 13:04 XITRIX

It's actually should expose itself as PS controller to enable Gyro support

It seems to only expose itself as a PS controller on the first connection, subsequent reconnects expose the controller as an Xbox controller.

but you can manually change it in Sunshine settings

I know, I meant as in adding a layout setting to change the client hints on what the gamepad emulated on the client is, so you can switch between exposing a Pro Controller, an Xbox controller or a DualSense controller.

Actually, I wonder if the Pro Controller client emulation has gyro support upstream, or does only the DualSense emulator does?

korewaChino avatar Apr 30 '25 19:04 korewaChino