libScePad: thirteen exports need their argument lists and checks from the firmware module #15087
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 zaryabzip on 2026-11-02T14:53:41Z.
What happens
Thirteen libScePad exports that a game can call still throw through
NotImplemented_nid_no_patchon every call:scePadGetCapability,scePadGetDeviceInfo,scePadGetDeviceId,scePadGetVersionInfoandscePadGetExtensionUnitInfo;scePadGetIdleCount,scePadGetControllerIdleCountandscePadGetActiveTime;scePadReadStateExtandscePadReadHistory;scePadOpenExt2,scePadGetInfoByPortTypeandscePadSetPS4BcVibrationMode.Each one is declared without parameters, because no prototype is known.
What's known
scePadInit,scePadGetHandle,scePadOpen,scePadReadState,scePadRead,scePadGetControllerInformation,scePadGetExtControllerInformation, the light bar, vibration and trigger-effect calls, and others.(STUBBED)log, exceptscePadReadStateExt, which it passes toscePadReadStatewith the comment "We don't currently support extensions".What would settle it
For each export, from firmware 13.42's
libScePad.sprx:Specific questions:
scePadGetCapabilitya fixed table per controller type?scePadGetControllerInformationalready reports the type here.scePadGetIdleCount,scePadGetControllerIdleCountandscePadGetActiveTimeread counters the library keeps from its reads, or ask the driver?scePadReadStateExtwrite the same layout asscePadReadStateplus an extension block, and how large is that block?scePadInit?Calls that only reach the driver or service can stay unsupported. Their local checks and argument lists would still replace the current placeholders.
@BunnyFl's 13.42 module runs (#13680, #13682, #13728, #13737) would settle most of this.
What was checked
mainat92d2fdc343;tools/progress.py; shadPS4 0614ce32 (src/core/libraries/pad/pad.cpp); and the diffs of all open PRs.AI-assisted: yes (Claude Code)