mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-01 12:45:56 +00:00
Keyboard input follows libSceMouse: the video out event loop forwards SDL key and focus events, whose scancodes are USB HID usages, and the library keeps the pressed keys, modifiers and lock LEDs in a 16-entry history for sceKeyboardRead and a snapshot for sceKeyboardReadState. sceKeyboardGetKey2Char translates the 101-key arrangement; the 106-key one throws and is listed as technical debt. KeyboardData holds 16 key codes (96 bytes), not 6. Co-Authored-By: Claude <[email protected]>