haptics: recognize 'Wireless Controller' audio endpoint on Linux #1046
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1046
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1046/head"
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?
@arthuralvesdev on GitHub · 2026-10-04 14:17 UTC · original
arthuralvesdev:fix-linux-dualsense-audio-endpoint→main· +14 −2 · 2 files · 1 commits · merged 2026-10-04 15:44 UTCSummary
On Linux (ALSA / PipeWire / PulseAudio), the 4-channel USB audio playback device for the PS5 DualSense controller is named
"Wireless Controller"by default (derived from Sony's USBiProductstring descriptor).Currently,
DualSenseHaptics::FindDevice()only matches audio playback devices whose name contains"DualSense". As a result, on Linux systems the 4-channel endpoint is never matched, preventing USB haptic audio playback from initializing.Changes
DualSenseHaptics::FindDevice()insrc/libs/dualSenseHaptics.cppto accept either"DualSense"or"Wireless Controller"when 4 channels are present.tests/PadHapticsTests.cppconfirming that a 4-channel"Wireless Controller"endpoint is discovered and opened properly.Verification
054c:0ce6): quad-channel audio stream opened and verified.pad_haptics_tests: all cases passed.@coderabbitai[bot] on GitHub · 2026-10-04 14:22 UTC · original
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
dc0f8d0f-6635-4742-a7b4-d95a91b46228📥 Commits
Reviewing files that changed from the base of the PR and between
db17585277andae3dc8398f.📒 Files selected for processing (2)
src/libs/dualSenseHaptics.cpptests/PadHapticsTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Walkthrough
Walkthrough
FindDevicenow accepts playback-device names containing “DualSense” or “Wireless Controller,” while retaining the four-channel format requirement and rejection of ambiguous matches. The hotplug test verifies that discovery removes the prior stream and opens a four-channel Wireless Controller endpoint.Suggested reviewers:
cosmoPriority: ⬇️ Low
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
ae3dcFour-channel Wireless Controller discovery is covered, and late DualSense discovery remains tested. No actionable merge risk is evident.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.