feat(libSceKeyboard): export missing firmware functions from database #6787

Merged
al3w0f205 merged 1 commit from upstream-pr/6787 into main 2026-10-19 10:52:15 +00:00
al3w0f205 commented 2026-10-16 11:53:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by al3w0f205 on 2026-10-16T11:53:15Z.


What

Exports the 14 missing firmware interfaces for libSceKeyboard from the firmware export database (aerolib.csv), completing libSceKeyboard export coverage (20/20 symbols):

  • sceKeyboardConnectPort
  • sceKeyboardDebugGetDeviceId
  • sceKeyboardDeviceOpen
  • sceKeyboardDisconnectAll
  • sceKeyboardDisconnectDevice
  • sceKeyboardDisconnectPort
  • sceKeyboardGetConnection
  • sceKeyboardGetDeviceInfo
  • sceKeyboardGetHandle
  • sceKeyboardMbusInit
  • sceKeyboardPadEmulateClose
  • sceKeyboardPadEmulateOpen
  • sceKeyboardSetProcessFocus
  • sceKeyboardSetProcessPrivilege

Documents unknown signatures in docs/dev/debt/libSceKeyboard.md and asserts throwing behavior in core/libs/prx/libSceKeyboard/tests/Keyboard.cpp.

Tested

Windows 11 (MinGW64 DWARF), ctest keyboard_input passed 100%.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4887972104 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6787). Originally posted by [al3w0f205](https://github.com/al3w0f205) on 2026-10-16T11:53:15Z. --- ### What Exports the 14 missing firmware interfaces for libSceKeyboard from the firmware export database (`aerolib.csv`), completing libSceKeyboard export coverage (20/20 symbols): - `sceKeyboardConnectPort` - `sceKeyboardDebugGetDeviceId` - `sceKeyboardDeviceOpen` - `sceKeyboardDisconnectAll` - `sceKeyboardDisconnectDevice` - `sceKeyboardDisconnectPort` - `sceKeyboardGetConnection` - `sceKeyboardGetDeviceInfo` - `sceKeyboardGetHandle` - `sceKeyboardMbusInit` - `sceKeyboardPadEmulateClose` - `sceKeyboardPadEmulateOpen` - `sceKeyboardSetProcessFocus` - `sceKeyboardSetProcessPrivilege` Documents unknown signatures in docs/dev/debt/libSceKeyboard.md and asserts throwing behavior in core/libs/prx/libSceKeyboard/tests/Keyboard.cpp. ### Tested Windows 11 (MinGW64 DWARF), ctest `keyboard_input` passed 100%. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-16 11:54:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T11:54:01Z.


Progress report (c8044c3 → cc941b9)

📉 System libraries: 88.49% (-0.34%, +14 declared functions)

🆕 14 declared as stubs
Library Name
libSceKeyboard sceKeyboardConnectPort
libSceKeyboard sceKeyboardDebugGetDeviceId
libSceKeyboard sceKeyboardDeviceOpen
libSceKeyboard sceKeyboardDisconnectAll
libSceKeyboard sceKeyboardDisconnectDevice
libSceKeyboard sceKeyboardDisconnectPort
libSceKeyboard sceKeyboardGetConnection
libSceKeyboard sceKeyboardGetDeviceInfo
libSceKeyboard sceKeyboardGetHandle
libSceKeyboard sceKeyboardMbusInit
libSceKeyboard sceKeyboardPadEmulateClose
libSceKeyboard sceKeyboardPadEmulateOpen
libSceKeyboard sceKeyboardSetProcessFocus
libSceKeyboard sceKeyboardSetProcessPrivilege
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6214927366 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6787#issuecomment-6214927366). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-16T11:54:01Z. --- <!-- progress-report --> ### Progress report (c8044c3 → cc941b9) 📉 **System libraries**: 88.49% (-0.34%, +14 declared functions) <details> <summary>🆕 14 declared as stubs</summary> | Library | Name | | - | - | | libSceKeyboard | `sceKeyboardConnectPort` | | libSceKeyboard | `sceKeyboardDebugGetDeviceId` | | libSceKeyboard | `sceKeyboardDeviceOpen` | | libSceKeyboard | `sceKeyboardDisconnectAll` | | libSceKeyboard | `sceKeyboardDisconnectDevice` | | libSceKeyboard | `sceKeyboardDisconnectPort` | | libSceKeyboard | `sceKeyboardGetConnection` | | libSceKeyboard | `sceKeyboardGetDeviceInfo` | | libSceKeyboard | `sceKeyboardGetHandle` | | libSceKeyboard | `sceKeyboardMbusInit` | | libSceKeyboard | `sceKeyboardPadEmulateClose` | | libSceKeyboard | `sceKeyboardPadEmulateOpen` | | libSceKeyboard | `sceKeyboardSetProcessFocus` | | libSceKeyboard | `sceKeyboardSetProcessPrivilege` | </details>
MarcZX10 commented 2026-10-16 11:54:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T11:54:45Z.

Review: APPROVED


The export additions are explicit throwing stubs, and the new debt entry clearly marks the signatures as unverified instead of implying they are implemented. The keyboard test covers the throwing behavior, and the Windows run plus eligibility, conventions, intake, and report checks pass. I found no duplicate open PR for these exports.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5547422325 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6787#pullrequestreview-5547422325). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T11:54:45Z. **Review:** APPROVED --- The export additions are explicit throwing stubs, and the new debt entry clearly marks the signatures as unverified instead of implying they are implemented. The keyboard test covers the throwing behavior, and the Windows run plus eligibility, conventions, intake, and report checks pass. I found no duplicate open PR for these exports.
milescoviello commented 2026-10-16 20:20:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-16T20:20:46Z.


Forever Launcher (PPSA99030, 01.000.006, catalog build) imports sceKeyboardSetProcessPrivilege (K1A7IJp5xYc). On Linux (Ubuntu 24.04, GCC 13.3, Release, main 1b1f8483c with #6915, #6028 and #6939), it is one of the three imports no library exports. With this PR merged as well, the title loads in 2 of 2 60 s runs and reaches its next stop, sysctl_nid_postfix: unsupported MIB 1.14.32.3. So a catalog title does import one of these exports.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6223963521 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6787#issuecomment-6223963521). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-16T20:20:46Z. --- Forever Launcher (PPSA99030, 01.000.006, catalog build) imports `sceKeyboardSetProcessPrivilege` (`K1A7IJp5xYc`). On Linux (Ubuntu 24.04, GCC 13.3, Release, `main` 1b1f8483c with #6915, #6028 and #6939), it is one of the three imports no library exports. With this PR merged as well, the title loads in 2 of 2 60 s runs and reaches its next stop, `sysctl_nid_postfix: unsupported MIB 1.14.32.3`. So a catalog title does import one of these exports. AI-assisted: yes
adriadam10 commented 2026-10-19 10:55:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T10:55:11Z.


Checked: the 14 exports are throwing stubs (NotImplemented_nid_no_patch), names match the firmware database, the debt entry lists them as unverified signatures, and the test pins the throw. Merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6265567599 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6787#issuecomment-6265567599). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-19T10:55:11Z. --- Checked: the 14 exports are throwing stubs (`NotImplemented_nid_no_patch`), names match the firmware database, the debt entry lists them as unverified signatures, and the test pins the throw. Merged.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6787
No description provided.