mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 17:11:09 +00:00
2.4 KiB
2.4 KiB
libSceConvertKeycode
change sceConvertKeycodeGetCharacterFromKeyboardData: returns 0x80BC0030
- sceConvertKeycodeGetCharacterFromKeyboardData: returns
0x80BC0030for alengthabove 16 (or negative), anledof 8 or more, amodifier_keyof 0x100 or more, astatebit outside 0x1C000080, or an index outside the key data, before the layout checks, and otherwise convertskey_code[index]withstate | modifier_key << 8 | led << 16. Confirmed on a PS5 Pro payload process (13.60): all five rejections answer0x80BC0030, in three ordered checks - key-data fields first, then the status bits, then the index - named by the module's own stderr diagnostics (libconvkeycode.cppsites 825, 834 and 838); a valid record converts (keycode 4 in layout 1 gives 'a') and an invalid keyboard type propagates0x80BC001Dfrom the inner conversion without writing the output. The rules were read from firmware 13.42's module run natively; they hold on a console at 13.60.
change sceConvertKeycodeGetCharacterFromKeyboardData, sceConvertKeycodeGetCharacter,
- sceConvertKeycodeGetCharacterFromKeyboardData,
sceConvertKeycodeGetCharacter,sceConvertKeycodeGetVirtualKeycodeandsceConvertKeycodeGetImeKeyboardType: return0x80BC0031(kErrInvalidAddress) if guest pointers point to unmapped memory as a host-safety fallback; callers preserveerrno. Measured on a PS5 Pro payload process (13.60) for the first three: an unwritable non-null output pointer faults the calling process in all of them - the module stores through it - so the returned code is the deviation, not the console answer; null outputs answer0x80BC0031, and insceConvertKeycodeGetCharacterFromKeyboardDatathe address check runs before the record checks with anInvalid address: keyData=... character=0diagnostic (libconvkeycode.cppsite 819), while insceConvertKeycodeGetVirtualKeycodethe null-output check precedes the keyboard-type check (null answers0x80BC0031even with an invalid type).sceConvertKeycodeGetImeKeyboardTypealso answers0x80BC0031for a null output, and with a writable output it never returns in a payload process (keyboard types 0 and 4, two sessions) - it appears to wait on a service this environment does not provide.