Skip to content

fix(ps5): return valid data for unimplemented feature reports and update firmware version - #3

Open
hkirste wants to merge 3 commits into
cgutman:mainfrom
hkirste:main
Open

hkirste wants to merge 3 commits into
cgutman:mainfrom
hkirste:main

Conversation

@hkirste

@hkirste hkirste commented Apr 5, 2026

Copy link
Copy Markdown

Summary

  • Unimplemented feature reports now return zero-filled buffers of the correct size instead of NULL, 0. This prevents WebHID clients (Chrome) from freezing for 7+ seconds during device enumeration, as each unhandled report previously caused a timeout/retry loop.
  • Updated the hardcoded firmware info report (0x20) to reflect a modern DualSense firmware version, preventing spurious "firmware update required" prompts from Steam and Windows Device Manager.

Test plan

  • Verify virtual DualSense loads instantly on ds.daidr.me (WebHID tester) without Chrome freeze
  • Verify no firmware update prompt appears when connecting via Moonlight
  • Verify existing functionality (rumble, lightbar, adaptive triggers) still works

hkirste added 3 commits April 4, 2026 15:19
The windows-latest runner image no longer includes WDK pre-installed,
causing x64 and ARM64 builds to fail with missing wdf.h.
The previous glob WinUHid.* missed the WinUHidDriver files.
…nd update firmware version

- Unimplemented feature reports now return zero-filled buffers instead of
  NULL, preventing WebHID clients (Chrome) from freezing during device
  enumeration due to timeout/retry loops on 17 unhandled reports.
- Updated firmware info report (0x20) to reflect a modern DualSense
  firmware version, preventing spurious "firmware update required"
  prompts from Steam/Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant