Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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.