AnyPS5/core/libs/prx/libSceKeyboard
Adrià Franch 63501b6d73 feat(libSceKeyboard): implement the keyboard library
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 <noreply@anthropic.com>
2026-10-01 19:00:23 +02:00
..
include feat(libSceKeyboard): implement the keyboard library 2026-10-01 19:00:23 +02:00
src feat(libSceKeyboard): implement the keyboard library 2026-10-01 19:00:23 +02:00
tests feat(libSceKeyboard): implement the keyboard library 2026-10-01 19:00:23 +02:00
CMakeLists.txt feat(libSceKeyboard): implement the keyboard library 2026-10-01 19:00:23 +02:00
Export.cpp feat(libSceKeyboard): implement the keyboard library 2026-10-01 19:00:23 +02:00