Closed jscrane closed 1 month ago
ps2drv is a hacked version of an early version of PS2Keyboard which returns scancodes (sort of) to the various applications.
In particular it adds 0xf000 to keys to represent "key released" events (method "read2").
The applications then map scancodes to their keyboard matrices.
See also PS2KeyAdvanced and PS2KeyRaw / PS2KeyMap
available()
and read()
, returning keyboard scan-coderead()
returning 16-bit value of last key pressedremapKey()
and remapKeyByte()
to convert 16-bit value into UTF-8 for US, UK, FR, DE, ES keyboards
See if it's possible to replace ps2drv with the official PS2 Keyboard library.