Skip to content

fix: correct persona microphone handling - #123

Merged
SundayMoments merged 1 commit into
mainfrom
port-dev
Aug 15, 2026
Merged

SundayMoments merged 1 commit into
mainfrom
port-dev

Conversation

@SundayMoments

Copy link
Copy Markdown
Owner

Summary

  • isolate the DualSense Edge stereo microphone USB contract while preserving mono capture for DualSense, DualShock 4, and Xbox personas
  • recognize all supported persona audio endpoints in the companion microphone and speaker tests
  • correct the DualSense controller microphone volume ceiling from 0x40 to 0x30

Why

DualSense Edge requires a different enumerated microphone channel contract, while the companion's browser-based test path did not recognize the Xbox endpoint label. The controller microphone output report also used the enable-flag value as its volume ceiling.

User impact

Microphone capture and testing now work consistently across DS, DSE, DS4, and Xbox personas. DSE gets its required stereo endpoint, the other personas remain mono, and microphone level control stays within the controller's native range.

Validation

  • npm test
  • npm run typecheck
  • npm run build:app
  • standard Pico firmware build
  • Waveshare firmware build

@SundayMoments
SundayMoments merged commit cc2245b into main Aug 15, 2026
4 checks passed
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