feat(libSceMouse): return success from sceMouseResetAbsolutePosition #5923

Closed
Kurenaiiiii wants to merge 1 commit from upstream-pr/5923 into main
Kurenaiiiii commented 2026-10-14 15:57:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Kurenaiiiii on 2026-10-14T15:57:05Z.


What

sceMouseResetAbsolutePosition returns success instead of throwing. No absolute position is tracked (reads report relative deltas, Publish takes no absolute input), so there is nothing to reset. Recorded as a silent stub in a new libSceMouse debt file. Test asserts the success return.

Tested

Not run here (mouse tests need SDL headers, not in this container). Export.cpp parses clean, conventions check passes. Left mouse_input to CI.

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
  • Unblocks: PPSA30601 #5922 (stop table in #4067)
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4860629660 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5923). Originally posted by [Kurenaiiiii](https://github.com/Kurenaiiiii) on 2026-10-14T15:57:05Z. --- ### What sceMouseResetAbsolutePosition returns success instead of throwing. No absolute position is tracked (reads report relative deltas, Publish takes no absolute input), so there is nothing to reset. Recorded as a silent stub in a new libSceMouse debt file. Test asserts the success return. ### Tested Not run here (mouse tests need SDL headers, not in this container). Export.cpp parses clean, conventions check passes. Left mouse_input to CI. ### 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 (`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] Unblocks: PPSA30601 #5922 (stop table in #4067) - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-14 15:57:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T15:57:57Z.


Progress report (e34c479 → bcf59b3)

📈 System libraries: 88.73% (+0.02%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceMouse sceMouseResetAbsolutePosition
⚪ 1 behaviourally empty (constant return or throw)
Library Name
libSceMouse sceMouseResetAbsolutePosition
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6172533284 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5923#issuecomment-6172533284). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T15:57:57Z. --- <!-- progress-report --> ### Progress report (e34c479 → bcf59b3) 📈 **System libraries**: 88.73% (+0.02%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceMouse | `sceMouseResetAbsolutePosition` | </details> <details> <summary>⚪ 1 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libSceMouse | `sceMouseResetAbsolutePosition` | </details>
github-actions[bot] commented 2026-10-14 18:35:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T18:35:17Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
#5986 core/libs/prx/libSceMouse/Export.cpp L26-28
core/libs/prx/libSceMouse/tests/Mouse.cpp L13
docs/dev/debt/libSceMouse.md
docs/dev/debt/libSceMouse.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6175553766 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5923#issuecomment-6175553766). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T18:35:17Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #5986 | `core/libs/prx/libSceMouse/Export.cpp` [L26-28](https://github.com/boykopovar/AnyPS5/blob/839d242405aee2c0efa7d167d9fe1a89fd5e1e9d/core/libs/prx/libSceMouse/Export.cpp#L26-L28)<br>`core/libs/prx/libSceMouse/tests/Mouse.cpp` [L13](https://github.com/boykopovar/AnyPS5/blob/839d242405aee2c0efa7d167d9fe1a89fd5e1e9d/core/libs/prx/libSceMouse/tests/Mouse.cpp#L13)<br>`docs/dev/debt/libSceMouse.md` | | `docs/dev/debt/libSceMouse.md` |
MarcZX10 commented 2026-10-15 02:04:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T02:04:21Z.


The overlap notice also points to #5986. Comparing the diffs, #5923 currently adds a no-argument unconditional success return, while #5986 takes the handle/x/y arguments observed at the PPSA30601 call site, validates initialization and handle state, and tests those cases. #5986 reports the title gets past this call and stops later at an unrelated clip-rectangle error. Could you and @oneandonlydean agree on sequencing and whether #5923 should be superseded or adapted? I’m not asking either author to drop their evidence; the caller signature and validation cases should be resolved before these overlapping changes merge.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6182719872 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5923#issuecomment-6182719872). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-15T02:04:21Z. --- The overlap notice also points to #5986. Comparing the diffs, #5923 currently adds a no-argument unconditional success return, while #5986 takes the handle/x/y arguments observed at the PPSA30601 call site, validates initialization and handle state, and tests those cases. #5986 reports the title gets past this call and stops later at an unrelated clip-rectangle error. Could you and @oneandonlydean agree on sequencing and whether #5923 should be superseded or adapted? I’m not asking either author to drop their evidence; the caller signature and validation cases should be resolved before these overlapping changes merge.
Kurenaiiiii commented 2026-10-15 03:57:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Kurenaiiiii on 2026-10-15T03:57:54Z.


Agreed. #5986 has the call-site signature and title evidence mine lacks, so it should go first. Closing this one as superseded.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6184056565 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5923#issuecomment-6184056565). Originally posted by [Kurenaiiiii](https://github.com/Kurenaiiiii) on 2026-10-15T03:57:54Z. --- Agreed. #5986 has the call-site signature and title evidence mine lacks, so it should go first. Closing this one as superseded.

Pull request closed

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!5923
No description provided.