Files
AnyPS5/docs/dev/debt/libSceKeyboard.md
T

2.2 KiB

libSceKeyboard technical debt

Functional

  • sceKeyboardGetKey2Char: the original validates HID usages 4 through 231 before the handle and preserves unconverted HID usages in the output with processed == 0. The host instead accepts out-of-range usages and writes zero for unconverted keys. The original ignores the Kana LED, while the host throws for it. This partially implemented function contains NotImplemented_nid_no_patch(__func__); its body is preserved under the requested restriction. One title (PPSA15246) disassembled for this entry calls it once with an output buffer cleared to 24 bytes, uses a character only when the result is 0 and the first output byte is nonzero, and then reads the 16-bit value at offset 8, which agrees with processed and char_code as laid out here. Which other output fields it reads and what its other arguments mean are not shown.

Unknown function info