I am trying to emulate the PS/2 keyboard protocol with a custom piece of hardware, without using a microcontroller. The said piece of hardware will consist of 13 momentary push buttons.
The keys will be hard mapped to specific ASCII values. My idea is (with intricate trace design), on button press, to fill a shift register with the correct ASCII value + PS/2 bits and shift the bits out as the PS/2 data. I was hoping to control the shift register with a decade counter, opening the the latch and inhibiting the clock to the shift register for one cycle, then waiting for 11 cycles to shift the data out of the shift register.
Is there an simpler more obvious solution or should continue to refine my design? I'm testing the concept with 8 stage shift reg + counter, but will expand later to accommodate the necessary 11 bits if the concept works. Also, no formal training in electrical engineering, I apologize if my question is not appropriate.