Rumble a USB DualSense read over HID #314
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!314
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-314"
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?
@nullexxx on GitHub · 2026-11-27 15:44 UTC · original
nullexxx:feat/dualsense-feedback→main· +325 −6 · 3 files · 1 commits · merged 2026-11-27 16:26 UTCRumble for a USB DualSense read over HID (
VICTORY_DUALSENSE). Before,set_rumble(slot 0x50) went only to XInput, which doesn't know a pad read over HID, so that pad got no rumble.The report layout and the firmware check are ported from Asem912's Marvisak/VIctory#2337 as developed in aleksesipenko/VIctory-RTX; both are co-authors.
What changes
dualsense/feedback.rs). The reports come from a writer thread, at most one per 10 ms per pad and only when the levels change. Writes are overlapped and cancelled after 100 ms. The reader clears the handle before closing it, so no write runs on a closed handle.VICTORY_DUALSENSE_RUMBLE=0leaves the motors alone.Not included
VICTORY_HAPTICS.Tested on hardware
DualSense over USB, firmware 0x0630, CachyOS + GE-Proton (viewtree), RTX 5080: rumble works. The log line
PlayStation gamepad: first rumble report sentshowsbytes=48 written=47. Unit tests cover the report, the write-length check and the firmware read.🤖 Generated with Claude Code
https://claude.ai/code/session_01SEGb52ApL88uPMf5GhSz8K
@TaynanGT on GitHub · 2026-11-27 15:54 UTC · original
@nullexxx USB rumble on the DualSense is confirmed by your run. Please keep the report-length handling narrow: a 48-byte report completing with 47 bytes under Wine is a specific case. DS4 and Bluetooth still need hardware coverage, and #276 already touches the same HID output path.
Drive PlayStation pad rumble and DualSense adaptive triggers over HIDto Rumble a USB DualSense read over HID40efed3df4toad795903ee@nullexxx on GitHub · 2026-11-27 16:06 UTC · original
Thanks. I've narrowed it to what the hardware run covers:
VICTORY_HAPTICSpath. This title never sent a trigger level anyway.Squashed into one commit on the current
main.@TaynanGT on GitHub · 2026-11-27 16:13 UTC · original
@nullexxx The USB-only scope matches the hardware result. Accepting the full report and the 47-byte Proton completion covers the two known lengths, with other short writes kept visible. The two-motor path also gives us a clean test alongside #276's opt-in haptics.