GameInput: Sony pad rumble through a write handle of its own #390
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/readmet3xt-lab--foxhound!390
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-390"
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?
@hatefulpineapple on GitHub · 2026-12-01 21:40 UTC · original
hatefulpineapple:pr/sony-rumble-write→main· +84 −19 · 1 files · 72 commits · closed without mergingRumble on DualShock 4 / DualSense / DualSense Edge went through
HidD_SetOutputReporton the same handle the reader thread holds in ablocking
ReadFile. Windows sizes an output write for the collection'slongest report, so a report of the controller's own length can be refused
when the collection asks for more.
This opens a second handle for writing, asks the preparsed data for
OutputReportByteLength, and pads the report with zeros past thecontroller's own bytes — the Bluetooth CRC stays at the end of the
controller's report. One
WriteFilesends one report; a short write is anerror, not a report to resume. The Bluetooth initialization output takes
the same path, and the sequence number advances per send.
Report layouts and the CRC are unchanged; no new switches.
Verified: the pure report logic 14/14 on macOS (standalone harness, including a new test
that the padding keeps the CRC at the end of the controller's report),
cross-target clippy clean for
victory-hlein both CI passes. The samechange has been running in local Windows x64 release packages built from
upstream main plus this overlay, where the
victory-hlesuite passed196 tests.
Pull request closed