Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Gyro Support for Switch Pro Controller emulation

Open korewaChino opened this issue 7 months ago • 2 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Is your issue described in the documentation?

  • [x] I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

Currently, Gyro support is only supported for DualSense controllers even though the Switch controllers do have gyro support, forcing clients to expose Switch controllers as DualSense for gyro support

Expected Behavior

Emulate the gyroscope for the Switch Pro controller while still exposing it as a Switch Pro Controller instead of a DualSense

Additional Context

No response

Host Operating System

Linux

Operating System Version

Ultramarine/Fedora 41

Architecture

other, n/a

Sunshine commit or version

v2025.122.141614

Package

n/a

GPU Type

AMD

GPU Model

RX 580

GPU Driver/Mesa Version

25.0.4

Capture Method

KMS (Linux)

Config


Apps


Relevant log output

n/a

korewaChino avatar May 01 '25 11:05 korewaChino

@ABeltramo FYI

ReenigneArcher avatar May 01 '25 11:05 ReenigneArcher

This would have to follow the DualSense implementation using uhid instead of uinput. Unfortunately, I don't have much time to work on this at the moment, and I don't even have a Switch Pro controller myself; but I'd be happy to help anyone that would like to dive into this!

ABeltramo avatar May 04 '25 08:05 ABeltramo

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Aug 02 '25 10:08 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Aug 12 '25 10:08 LizardByte-bot