Repository navigation
feat(libScePad): answer the tracker DualShock 4, Blaster and Move queries - #9664
Conversation
…ries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Progress report (d6eafa5 → 81ae747)📈 System libraries: 43.26% (+0.03%, +3 implemented functions) ✅ 3 implemented
⚪ 3 behaviourally empty (constant return or throw)
|
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Reviewed; this checks out. Answering all three tracker queries with an unconditional Two notes, neither blocking:
|
There was a problem hiding this comment.
The unconditional false answers are consistent with the existing emulation, which exposes a single DualSense rather than DS4, Move or Blaster devices. The invalid-handle uncertainty is explicitly documented, and the regression checks both a valid and invalid handle. Exact-head diff-check and conventions pass; hosted eligibility/intake/labels/report pass. Linux/Windows product build jobs are skipped, so the 2/2 guest_pad run is author-reported. The existing open PR overlaps are acknowledged in the description; I did not find a behavior overlap in the listed changes.
I’ve noticed that holding this PR because of #5239 isn’t necessary. It’s fine for PRs to keep coming in; they’ll be handled in due course. Please disregard my earlier request to hold or defer it.
|
Thanks @MarcZX10, and @fogydes for the review. That's fair: none of the titles I'm testing reaches these. I checked the original modules of Balatro (PPSA21402), Don't Starve Together (PPSA02070) and Vampire Survivors (PPSA21703) for the NIDs of (For the record, the AI-assisted: yes (Claude Code). |
|
I’ve noticed that my earlier request to hold this PR based on #5239 was unnecessary. It’s fine to keep submitting PRs; maintainers will handle them in due course. Please disregard that request. |
What
scePadIsDS4Connected,scePadIsBlasterConnectedandscePadIsMoveConnectedthrewnot implemented. They now return false for any handle.docs/dev/debt/libScePad.md). So no DualShock 4, Blaster or Move controller is ever behind a handle.bool (int32_t handle), as already declared inExport.cpp.docs/dev/debt/libScePad.md.libScePad/Export.cpp,GuestPad.cppor the debt file, but none of them touches these three functions.tools/pr_overlap.pycould not finish here: fetching every open PR's refs filled the disk twice. I checked each of those PR diffs by hand instead.Tested
Linux: Ubuntu x86-64 chroot in a Lima VM on macOS (Apple Silicon), at 81ae747 on
maind6eafa5. I builtguest_pad_testsandguest_pad_vibration_mode_testsand ranctest -R '^guest_pad': 2/2 pass.guest_padnow runsCheckTrackerDevices(). It calls each of the three functions with the open handle and with an invalid one and requires false. Onmainthe first call throwsnot implemented, so the test fails there.tools/check_conventions.py --base origin/mainpasses.tools/progress.pygoes from 4,834 to 4,837 done functions out of 11,181 (43.23% to 43.26%).Windows: not built. No title was run.
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)🤖 Generated with Claude Code