Support USB DualShock 4 controllers #292

Merged
jdhirst merged 2 commits from upstream-pr/292 into main 2026-11-27 14:24:00 +00:00
jdhirst commented 2026-11-27 13:53:00 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by jdhirst on 2026-11-27T13:53:00Z.


Add native USB input for the original and revised DualShock 4 through the existing PlayStation HID reader. Decode sticks, triggers and buttons without the DualSense calibration handshake.

Verification

  • Windows enumerates a USB DualShock 4 with product ID 09CC.
  • GameInput unit tests passed, including the DualShock 4 USB report regression.
<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5527776536 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/292). Originally posted by [jdhirst](https://github.com/jdhirst) on 2026-11-27T13:53:00Z. --- Add native USB input for the original and revised DualShock 4 through the existing PlayStation HID reader. Decode sticks, triggers and buttons without the DualSense calibration handshake. Verification - Windows enumerates a USB DualShock 4 with product ID 09CC. - GameInput unit tests passed, including the DualShock 4 USB report regression.
TaynanGT commented 2026-11-27 14:11:11 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T14:11:11Z.


@jdhirst The USB offsets match the DS4 report layout. I updated Reports::for_device in 7fd2a5b to accept input-only DS4 collections and keep the gamepad usage check. The regression covers zero-length features for DS4, the feature requirement for DualSense, and rejection of the keyboard collection.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7220457893 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/292#issuecomment-7220457893). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T14:11:11Z. --- @jdhirst The USB offsets match the DS4 report layout. I updated `Reports::for_device` in `7fd2a5b` to accept input-only DS4 collections and keep the gamepad usage check. The regression covers zero-length features for DS4, the feature requirement for DualSense, and rejection of the keyboard collection.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
TaynanGT/Vice-Tay!292
No description provided.