USB HID Keyboard Support

-

Added USB HID keyboard handling today.
Uses the same mmap area as other HID devices.

Extremely simple. A direct mapping of HID keyboard codes to 256 bits in memory. This gives us the whole keyboard state compacted to 64 bytes.
As described at: https://picocomputer.github.io/ria.html#keyboard

Due to the fact we have 32 bytes available in the HID memory area,
keyboard state is split into two addressable pages.

It makes the use of the interface very simple and efficient:

Of course, it works in Emu too…
https://x65.zone/emu/?rom=roms/controller.xex#Emu

HID Keyboard test


Share: