libSceMouse: ten exports need their argument lists and checks from the firmware module #15088
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:43Z.
What happens
Ten libSceMouse exports that a game can call still throw through
NotImplemented_nid_no_patchon every call:sceMouseGetHandle,sceMouseGetDeviceInfo,sceMouseSetHandTypeandsceMouseSetPointerSpeed;sceMouseExtensionRead,sceMouseExtensionReadState,sceMouseExtensionGetCursor,sceMouseExtensionSetCursor,sceMouseExtensionSetConfigandsceMouseExtensionScalePosition.All are declared without parameters, because no prototype is known.
What's known
sceMouseInit,sceMouseOpen,sceMouseClose,sceMouseReadandsceMouseResetAbsolutePosition. #12958 adds the absolute-position calls from @BunnyFl's 13.42 run, which Mewgenics (PPSA37318, #11477) uses.docs/dev/debt/libSceMouse.mdlists the extension calls andsceMouseGetHandlewith their NIDs, from the 13.60 inventory, and nothing else about them.(STUBBED)log fromGetDeviceInfo,SetHandTypeandSetPointerSpeed, and doesn't define the other seven.What would settle it
For each export, from firmware 13.42's
libSceMouse.sprx:Specific questions:
sceMouseGetHandle(userId, type, index)return the handlesceMouseOpengave, the wayscePadGetHandledoes?SetHandTypeandSetPointerSpeedstore values thatsceMouseReadapplies, or pass them to the driver?ScalePositiononly compute from its arguments?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, #13737) would settle most of this, like the absolute-position run behind #12958.
What was checked
mainat92d2fdc343;tools/progress.py; shadPS4 0614ce32 (src/core/libraries/mouse/mouse.cpp); and the diffs of all open PRs.AI-assisted: yes (Claude Code)