fix(videoout): separate title mouse input from pad bindings #6569

Merged
MarcZX10 merged 1 commit from upstream-pr/6569 into main 2026-10-17 13:25:05 +00:00
MarcZX10 commented 2026-10-15 20:59:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T20:59:54Z.


What

When sceMouseOpen has an open handle, mouse button presses no longer also trigger pad bindings, and mouse motion no longer tilts the right stick through mouse mode. Button releases still clear bindings pressed before the title opened the mouse; keys and the wheel keep their existing behavior. Adds focused regression coverage.

Carries the fix offered by @Tamalero in issue #6564, with @Tamalero preserved as the commit author. Fixes #6564.

Tested

  • Linux, GCC 12.2: compiled and ran the pad_keyboard_mouse test; all 15 cases passed.
  • Linux, GCC 12.2: PadInput.cpp syntax check passed.
  • python3 tools/check_conventions.py --base upstream/main: passed.
  • The issue author reports the High on Life menu behavior fixed in a Linux run (CachyOS, RTX 4090); Windows was not tested.

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; silent stubs are documented
  • No notes, investigation files or images added
  • No third-party code added
  • Generic behavior, not specific to one title
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a; no GPU-specific test
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4879776135 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-15T20:59:54Z. --- ### What When `sceMouseOpen` has an open handle, mouse button presses no longer also trigger pad bindings, and mouse motion no longer tilts the right stick through mouse mode. Button releases still clear bindings pressed before the title opened the mouse; keys and the wheel keep their existing behavior. Adds focused regression coverage. Carries the fix offered by @Tamalero in [issue #6564](https://github.com/boykopovar/AnyPS5/issues/6564), with @Tamalero preserved as the commit author. Fixes #6564. ### Tested - Linux, GCC 12.2: compiled and ran the `pad_keyboard_mouse` test; all 15 cases passed. - Linux, GCC 12.2: `PadInput.cpp` syntax check passed. - `python3 tools/check_conventions.py --base upstream/main`: passed. - The issue author reports the High on Life menu behavior fixed in a Linux run (CachyOS, RTX 4090); Windows was not tested. ### Checklist - [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 - [x] Unimplemented paths throw; silent stubs are documented - [x] No notes, investigation files or images added - [x] No third-party code added - [x] Generic behavior, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] GPUs tested: n/a; no GPU-specific test - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-15 21:10:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T21:10:48Z.


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 4891 core/libs/prx/libSceVideoOut/src/PadInput.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6202352862 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569#issuecomment-6202352862). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T21:10:48Z. --- <!-- 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 4891](https://www.github.com/boykopovar/AnyPS5/pull/4891) | `core/libs/prx/libSceVideoOut/src/PadInput.cpp` |
MarcZX10 commented 2026-10-15 21:13:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T21:13:12Z.


Manual overlap check for the bot notice: #4891 adds a configurable screenshot binding and request call in PadInput::HandleEvent; #674 adds controller configuration plus event/window handling changes. Neither implements the sceMouseOpen behavior in this PR (skip default mouse-to-pad/button actions while the title reads mouse input, then restore them when it closes). They touch the same event path and could need a merge resolution if either lands first, but I found no duplicate behavior.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6202395873 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569#issuecomment-6202395873). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-15T21:13:12Z. --- Manual overlap check for the bot notice: #4891 adds a configurable screenshot binding and request call in `PadInput::HandleEvent`; #674 adds controller configuration plus event/window handling changes. Neither implements the `sceMouseOpen` behavior in this PR (skip default mouse-to-pad/button actions while the title reads mouse input, then restore them when it closes). They touch the same event path and could need a merge resolution if either lands first, but I found no duplicate behavior.
Tamalero commented 2026-10-16 01:13:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-16T01:13:48Z.


A small correction to the description: the High on Life (PPSA15388) menu check in #6564 was on Linux (CachyOS, RTX 4090), not Windows. The fix hasn't been run on Windows.

Tested and written by Claude (AI assistant) on a contributor's machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6205761698 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569#issuecomment-6205761698). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-16T01:13:48Z. --- A small correction to the description: the High on Life (PPSA15388) menu check in #6564 was on **Linux** (CachyOS, RTX 4090), not Windows. The fix hasn't been run on Windows. *Tested and written by Claude (AI assistant) on a contributor's machine.*
MarcZX10 commented 2026-10-16 15:59:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T15:59:20Z.


Thanks for catching the OS attribution. Confirmed: the High on Life menu check in #6564 was on Linux/CachyOS with an RTX 4090; this PR has not been run on Windows. I will keep the validation claim scoped to Linux.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6219413709 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569#issuecomment-6219413709). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T15:59:20Z. --- Thanks for catching the OS attribution. Confirmed: the High on Life menu check in #6564 was on Linux/CachyOS with an RTX 4090; this PR has not been run on Windows. I will keep the validation claim scoped to Linux.
Tamalero commented 2026-10-16 18:19:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-16T18:19:39Z.


@MarcZX100 a request about authorship before this merges: please replace b10befaf2 with 07dd28f44 from fix/mouse-off-pad-while-title-reads-mouse on the fork (https://github.com/Tamalero/AnyPS5/tree/fix/mouse-off-pad-while-title-reads-mouse). It's patch-identical; only the author changes, to Tamalero <[email protected]>. Please refer to the author by the handle only in PR text. Thanks!

Tested and written by Claude (AI assistant) on a contributor's machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6221952812 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569#issuecomment-6221952812). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-16T18:19:39Z. --- @MarcZX100 a request about authorship before this merges: please replace `b10befaf2` with `07dd28f44` from `fix/mouse-off-pad-while-title-reads-mouse` on the fork (https://github.com/Tamalero/AnyPS5/tree/fix/mouse-off-pad-while-title-reads-mouse). It's patch-identical; only the author changes, to `Tamalero <11452991+[email protected]>`. Please refer to the author by the handle only in PR text. Thanks! *Tested and written by Claude (AI assistant) on a contributor's machine.*
MarcZX10 commented 2026-10-16 18:43:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T18:43:31Z.


Updated the branch to the exact patch-identical commit you provided (07dd28f44), preserving your supplied commit metadata. The PR head now matches that commit.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6222362369 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569#issuecomment-6222362369). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T18:43:31Z. --- Updated the branch to the exact patch-identical commit you provided (`07dd28f44`), preserving your supplied commit metadata. The PR head now matches that commit.
MarcZX10 commented 2026-10-16 19:59:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T19:59:33Z.


Thanks for the authorship request. The current PR head is now the exact patch-identical commit 07dd28f448ba1b30503019322d32bc146d1a087d, with Tamalero as the sole commit author. The PR description also credits Tamalero and does not attribute the commit to me.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6223610765 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569#issuecomment-6223610765). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T19:59:33Z. --- Thanks for the authorship request. The current PR head is now the exact patch-identical commit `07dd28f448ba1b30503019322d32bc146d1a087d`, with Tamalero as the sole commit author. The PR description also credits Tamalero and does not attribute the commit to me.
MarcZX10 commented 2026-10-16 22:15:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T22:15:57Z.


Updated the PR description to refer to @Tamalero by handle and correctly credit @Tamalero as the commit author. The head already uses the supplied patch-identical commit with Tamalero as sole author.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6225739244 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6569#issuecomment-6225739244). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T22:15:57Z. --- Updated the PR description to refer to @Tamalero by handle and correctly credit @Tamalero as the commit author. The head already uses the supplied patch-identical commit with Tamalero as sole author.
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!6569
No description provided.