fix(libSceMouse): resolve absolute-position imports #11482
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11482"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T16:45:44Z.
What
Issue #11477 reports unresolved imports from
libSceMouse.prx. The three NIDs map tosceMouseReadAbsolutePosition(If6YTBcYAbc),sceMouseSetAbsoluteHighPrecisionMode(stCCyzJJyM0) andsceMouseSetAbsoluteVirtualScreenSize(oB2fBhW84tQ); the repository's NID tool recomputes those exact NIDs from the names. These exports are missing fromlibSceMouseand no open or closed PR for these functions was found.This adds exports for the three names so import resolution can proceed. Each export throws
NotImplemented_nid_no_patchif called. The no-argument declarations are import-only; the function signatures and behavior are unknown and are recorded as such in technical debt. This does not claim to implement the mouse APIs or guarantee the title proceeds past a call to them.Tested
Linux x86-64, GCC 12.2.0:
Export.cppcompiles with-std=c++20 -Wall -Wextra -Werror.Export.cppstubs with a throwing test double forNotImplemented_nid_no_patch; it verified that all three calls throw with their function names.nmshows all three expected function symbols in the object, andtools/nid_names.pycomputes the three NIDs listed above.python3 tools/check_conventions.py --base upstream/main,git diff --check,tools/check_main_sync.py --base upstream/main --head HEAD --strict, andtools/pr_overlap.py --branch marc/libscemouse-absolute-import-stubspass.mouse_inputCTest was not run locally because SDL2 headers and the SDL2 pkg-config module are unavailable in this environment. The test source adds assertions that the exports throw.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)