All the things you didn't ask about PS/2 keyboards [til/computing]

1 · Remy Sharp · May 11, 2021, 6:47 p.m.
It's a 2 way communication protocol, i.e. the PS/2 keyboard will receive messages from the host/controller There's 6 pins on the lead, but only 4 are used: vcc (power), ground, clock and data A key stroke is made up of a make and a break message (i.e. key down, key up), so a key being held down sends repeating make messages Different machines expect different timing between messages, the Amiga for instance seems to want around 20 microseconds between make and break otherwise it seems to ignore t...