mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
sceConvertKeycodeGetCharacterFromKeyboardData threw for an index outside the key data, accepted any state bits and converted with the caller's state only. Firmware 13.42's module returns INVALID_PARAMETER for a length above 16, an led of 8 or more, a modifier_key of 0x100 or more, a state bit outside 0x1C000080 or an index outside the key data, before the layout checks, and converts key_code[index] with state | modifier_key << 8 | led << 16. Co-Authored-By: Claude Opus 5.5 <[email protected]>