feat(libSceConvertKeycode): implement sceConvertKeycodeGetCharacter for the US layout #5366
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5366"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by codingreapermaps on 2026-10-13T18:06:56Z.
What
sceConvertKeycodeGetCharacterwas a throwing stub. PPSA12361 (Transport Fever 2: Console Edition) calls it at start-up, while it builds the names of its key bindings, and stopped withsceConvertKeycodeGetCharacter not implementedbefore its main menu.ediholds a zero-extended 16-bit keycode,esiis 0,edxis the typesceConvertKeycodeGetImeKeyboardTypereturned andrcxpoints at a 16-bit value. When the result is 0 the title writes a terminator after that value and reads it as a UTF-16 string; on any other result, or an empty string, it uses its own table of key names.0x80BC0031, assceConvertKeycodeGetImeKeyboardTypedoes. A second argument other than 0, or a keyboard type other than 0, throws: the title never passes them, andsceConvertKeycodeGetImeKeyboardTypeonly reports type 0.The inferred signature, the unknown second argument and the unmeasured result for a keycode without a character are recorded in
docs/dev/debt/libSceConvertKeycode.md.Tested
Windows 11, MinGW-w64 GCC 15.2.0, relinked with
--windows --to-intel.sceConvertKeycodeGetCharacter not implemented; with it the title reaches its main menu and opens its settings page.keyboard_inputpasses.60fb61870, 112 commits before themainthis branch is rebased on; not rebuilt after the rebase. No test was added: the function has no state, and the only reference for its results is this one title.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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T18:07:42Z.
Progress report (
18c438b→5ca6487)📈 System libraries: 88.18% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceConvertKeycodeGetCharacter