mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #385] [CLOSED] Add Nintendo Switch Pro Controller support #433
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#433
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/wolf/pull/385
Author: @kmreisi
Created: 4/5/2026
Status: ❌ Closed
Base:
stable← Head:feature/switch-pro-controller📝 Commits (9)
a0de83dSupport Switch Pro motion inputb4bceacSwap Nintendo face buttons for Switch Pro Controllerf7872c8Add Switch Pro udev identity and skip evdev joystick for SDL HIDAPI1b3ba95Fix SwitchJoypad namespace for variant type resolutionb2b821bExpose all Switch device nodes and fix fake-udev event orderingf4eecadReplace existing controller on re-arrival instead of skipping9f30800Fix Switch Pro Controller IMU axis mapping8c40bcbAdd Joy-Con Left and Right controller support6a36bf4Remove button and IMU workarounds for Switch controllers📊 Changes
6 files changed (+726 additions, -54 deletions)
View changed files
📝
.dockerignore(+1 -1)📝
src/core/src/platforms/linux/uinput/joypad.cpp(+229 -15)📝
src/moonlight-server/control/input_handler.cpp(+81 -27)📝
src/moonlight-server/runners/docker.cpp(+40 -10)📝
src/moonlight-server/state/serialised_config.hpp(+2 -0)📝
tests/platforms/linux/uhid.cpp(+373 -1)📄 Description
Summary
Adds full Nintendo Switch Pro Controller support, enabling:
translate_buttons()helper to compensate for SDL HIDAPI's Nintendo→Xbox remap on readDependencies
Requires the inputtino Switch Pro UHID backend: games-on-whales/inputtino#37
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.