feat(libScePad): declare 23 game-facing exports #4620
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4620"
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 iDiesIrae-Req on 2026-10-12T16:52:18Z.
What
Declares 23 libScePad exports as throwing stubs (
NotImplemented_nid_no_patch(__func__)). They are declared without parameters because their signatures are unknown, and are recorded in debt/libScePad.md.scePadGetCapability,scePadGetControllerType,scePadGetDeviceInfo,scePadGetExtensionUnitInfo,scePadGetIdleCount,scePadGetMotionSensorPosition,scePadGetMotionTimerUnit,scePadGetSphereRadius,scePadIsDS4Connected,scePadIsLightBarBaseBrightnessControllable,scePadIsMoveConnected,scePadIsMoveReproductionModel,scePadIsSupportedAudioFunction,scePadIsValidHandle,scePadOpenExt2,scePadReadHistory,scePadReadStateExt,scePadResetLightBarAll,scePadResetLightBarAllByPortType,scePadSetExtensionReport,scePadSetLightBarBaseBrightness,scePadSetLightBarBlinking,scePadVrControllerGetPhysicalUsbConnectionStatus.The names come from the aerolib NID list pinned in
tools/nid_names.py, and each one hashes to its NID. Only game-facing calls were picked. System and internal names in the same list (Leonardo, Lotus, IR code, profile editing, telemetry, process focus, tracker) were left out.No title is known to import these yet. A title that does now fails with a named
not implementederror instead of a missing-import error.tools/progress.py --compareagainstmain8a67eb2e6: +23 declared functions, all libScePad.Rebased onto
main8a67eb2e6.scePadVrControllerGetTriggerEffectStateswas dropped from this PR, becausemaindeclared it in147c0db15("export the calls PPSA02530 imports").TechnicalDebt.mdtodocs/dev/debt/libScePad.md, following the per-library layout from #4411.Tested
On Windows 11, WinLibs GCC 15.2.0 r7, Release,
main8a67eb2e6plus this commit:libstarget builds (Patching NIDs for libScePad,OK);main'sscePadVrControllerGetTriggerEffectStates) are exported by the builtlibScePad.prx;tools/check_conventions.py --base origin/mainpasses.ctest was not run. No title was run.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T06:50:06Z.
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.
main)docs/dev/debt/libScePad.mdL10docs/dev/debt/libScePad.mdL10docs/dev/debt/libScePad.mdL10docs/dev/debt/libScePad.mdL10Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T14:44:45Z.
Progress report (
8a67eb2→debcdcf)📉 System libraries: 87.3% (-0.56%, +23 declared functions)
🆕 23 declared as stubs
scePadGetCapabilityscePadGetControllerTypescePadGetDeviceInfoscePadGetExtensionUnitInfoscePadGetIdleCountscePadGetMotionSensorPositionscePadGetMotionTimerUnitscePadGetSphereRadiusscePadIsDS4ConnectedscePadIsLightBarBaseBrightnessControllablescePadIsMoveConnectedscePadIsMoveReproductionModelscePadIsSupportedAudioFunctionscePadIsValidHandlescePadOpenExt2scePadReadHistoryscePadReadStateExtscePadResetLightBarAllscePadResetLightBarAllByPortTypescePadSetExtensionReportscePadSetLightBarBaseBrightnessscePadSetLightBarBlinkingscePadVrControllerGetPhysicalUsbConnectionStatusImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-13T14:45:20Z.
Closing this one, for these reasons:
NotImplemented, with no parameters because their signatures are unknown. Behaviour is the same asmainfor any title that calls them (it aborts either way); only the symbol now exists.You're welcome to reopen, or send a new PR, once a title imports one of these calls and the PR implements it with a signature, behaviour from a reference or call-site evidence, and a test that fails without the change.
Pull request closed