Continuing my exploration of reimplementing LÖVE upon a risc32cfimv with memory-mapped I/O... How'd I reimplement its love.keyboard module?
I'd register some Assembly code to for the keyboard to interrupt with PS/2 scancodes (or F0 to indicate that the next scancode was released) read into an I/O shift register & validated over a SPI protocol. Which would precede to copy that into a ringbuffer which our LÖVE runtime can convert into events, possibly whilst filtering out key repeats.
1/3?