From 3990a55fb8492d08be10b9bf2e5953c061c95209 Mon Sep 17 00:00:00 2001 From: xXPBSXx <20614131+xXPBSXx@users.noreply.github.com> Date: Fri, 4 Dec 2026 10:51:16 +0100 Subject: [PATCH] docs(libSceKeyboard): record Read and ReadState before initialisation on firmware 11.60 Co-Authored-By: Claude Sonnet 5.5 --- .../changes/docs-libscekeyboard-read-before-init-measured.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/dev/debt/changes/docs-libscekeyboard-read-before-init-measured.md diff --git a/docs/dev/debt/changes/docs-libscekeyboard-read-before-init-measured.md b/docs/dev/debt/changes/docs-libscekeyboard-read-before-init-measured.md new file mode 100644 index 000000000000..bba1bf197fa7 --- /dev/null +++ b/docs/dev/debt/changes/docs-libscekeyboard-read-before-init-measured.md @@ -0,0 +1,5 @@ +# libSceKeyboard + +## add Functional + +- [sceKeyboardRead and sceKeyboardReadState before initialisation](../../../core/libs/prx/libSceKeyboard/src/keyboard_impl.cpp) (libSceKeyboard) - measured in a PS5 payload process (firmware 11.60; a title process may differ) in two runs, with the prototypes `(int handle, void* data, int num)` and `(int handle, void* data)` assumed. Before any `sceKeyboardInit`, `Read(1, buffer, 1)` returns `0x80da0005` and leaves the buffer unchanged; `ReadState(1, buffer)` returns `0x80da0005` after clearing the 96-byte record and writing a length of 1 at offset 20; `Read(1, NULL, 1)` returns `0x80da0005`, so the initialisation is checked before the pointer; `ReadState(1, NULL)` returns `0x80da0001`. The host model returns the same. In the first run the `sceKeyboardInit` call that followed did not return within 50 s and the process did not exit (one run); nothing after an initialisation is measured.