fix(libSceVideoOut): rumble a DualSense from haptic audio without a sound card #7633

Merged
WallisSkill merged 1 commit from upstream-pr/7633 into main 2026-10-20 11:07:59 +00:00
WallisSkill commented 2026-10-18 18:14:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by WallisSkill on 2026-10-18T18:14:52Z.


What

AudioOut2 turns controller haptic PCM into motor rumble only when no controller sound card plays it. That is the case for a DualSense over Bluetooth. PadInput then dropped that rumble for every DualSense (isPs5 ? vibration : max(vibration, audioVibration)), so titles that vibrate through haptic audio never rumbled a DualSense over Bluetooth. A DualSense now takes it like any other controller. With a sound card, no haptic rumble is submitted, so nothing plays twice. The TechnicalDebt entry on haptic PCM now says which controllers get the rumble.

The same applies to legacy sceAudioOutOpen vibration ports (type 10) once #6860 turns them into rumble.

Tested

Windows 11, DualSense over Bluetooth, Dead Cells (PPSA15552), which plays haptic PCM through a stereo S16 type 10 port. With a local change that turns that port into rumble (as #6860 does) and this change, the controller rumbled in combat. Without this change, the rumble values reached PadInput but were dropped. No AudioOut2 title was run. Builds and passes check_conventions.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a (pad output only; no GPU path changed)
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4911561981 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7633). Originally posted by [WallisSkill](https://github.com/WallisSkill) on 2026-10-18T18:14:52Z. --- ### What AudioOut2 turns controller haptic PCM into motor rumble only when no controller sound card plays it. That is the case for a DualSense over Bluetooth. `PadInput` then dropped that rumble for every DualSense (`isPs5 ? vibration : max(vibration, audioVibration)`), so titles that vibrate through haptic audio never rumbled a DualSense over Bluetooth. A DualSense now takes it like any other controller. With a sound card, no haptic rumble is submitted, so nothing plays twice. The TechnicalDebt entry on haptic PCM now says which controllers get the rumble. The same applies to legacy `sceAudioOutOpen` vibration ports (type 10) once #6860 turns them into rumble. ### Tested Windows 11, DualSense over Bluetooth, Dead Cells (PPSA15552), which plays haptic PCM through a stereo S16 type 10 port. With a local change that turns that port into rumble (as #6860 does) and this change, the controller rumbled in combat. Without this change, the rumble values reached `PadInput` but were dropped. No AudioOut2 title was run. Builds and passes `check_conventions`. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a (pad output only; no GPU path changed) - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-18 18:39:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T18:39:51Z.


Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 674 core/libs/prx/libSceVideoOut/src/PadInput.cpp
PR 907 docs/dev/TechnicalDebt.md
PR 1368 docs/dev/TechnicalDebt.md
PR 1384 docs/dev/TechnicalDebt.md
PR 1395 docs/dev/TechnicalDebt.md
PR 1601 docs/dev/TechnicalDebt.md
PR 1835 docs/dev/TechnicalDebt.md
PR 3986 docs/dev/TechnicalDebt.md
PR 5021 docs/dev/TechnicalDebt.md
PR 6039 docs/dev/TechnicalDebt.md
PR 7499 core/libs/prx/libSceVideoOut/src/PadInput.cpp
PR 7881 core/libs/prx/libSceVideoOut/src/PadInput.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253650253 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7633#issuecomment-6253650253). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-18T18:39:51Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 674](https://www.github.com/boykopovar/AnyPS5/pull/674) | `core/libs/prx/libSceVideoOut/src/PadInput.cpp` | | [PR 907](https://www.github.com/boykopovar/AnyPS5/pull/907) | `docs/dev/TechnicalDebt.md` | | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `docs/dev/TechnicalDebt.md` | | [PR 1384](https://www.github.com/boykopovar/AnyPS5/pull/1384) | `docs/dev/TechnicalDebt.md` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `docs/dev/TechnicalDebt.md` | | [PR 1601](https://www.github.com/boykopovar/AnyPS5/pull/1601) | `docs/dev/TechnicalDebt.md` | | [PR 1835](https://www.github.com/boykopovar/AnyPS5/pull/1835) | `docs/dev/TechnicalDebt.md` | | [PR 3986](https://www.github.com/boykopovar/AnyPS5/pull/3986) | `docs/dev/TechnicalDebt.md` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/dev/TechnicalDebt.md` | | [PR 6039](https://www.github.com/boykopovar/AnyPS5/pull/6039) | `docs/dev/TechnicalDebt.md` | | [PR 7499](https://www.github.com/boykopovar/AnyPS5/pull/7499) | `core/libs/prx/libSceVideoOut/src/PadInput.cpp` | | [PR 7881](https://www.github.com/boykopovar/AnyPS5/pull/7881) | `core/libs/prx/libSceVideoOut/src/PadInput.cpp` |
adriadam10 commented 2026-10-20 11:08:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-20T11:08:50Z.


Checked that AudioOut2 and the legacy virtual-port path only submit haptic rumble when no controller sound card plays the PCM, so a DualSense with a sound card doesn't play it twice; TechnicalDebt line is accurate; merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6289497676 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7633#issuecomment-6289497676). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-20T11:08:50Z. --- Checked that AudioOut2 and the legacy virtual-port path only submit haptic rumble when no controller sound card plays the PCM, so a DualSense with a sound card doesn't play it twice; TechnicalDebt line is accurate; merged.
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
boykopovar/AnyPS5!7633
No description provided.