Add native USB DualSense HD haptics on Windows #495
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/gamingwithhomie--larp!495
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-495"
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?
@ForthtuN on GitHub · 2026-12-06 01:32 UTC · original
ForthtuN:feature/dualsense-usb-haptics→main· +872 −17 · 7 files · 3 commits · openSummary
Validation
@vanya890 on GitHub · 2026-12-06 01:39 UTC · original
One real-time concern:
output_step()runs on the title's mixer thread, buttake()enters the blockingRING_STATEmutex to copy each 256-frame haptics block. The WASAPI player also takes that mutex to pop/trim the ring. If the player is preempted while holding it, the game's mixer can wait on an optional haptics feature and potentially introduce audio glitches. Could the mixer side usetry_lockand drop/count that haptics block on contention, or use an SPSC ring? Dropping a haptics frame is preferable to blocking the title's audio thread.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.