Even the AT keyboard (whose protocol the PS/2 keyboard
uses) used an
8042 and possibly a scanning IC.
All IBM PC family keyboards contain a microcontroller. I beleive this was
origianlly an 8048, but I have seen at least one IBM keyboard with a 6805
in it. The clone keyboards that I've seen that have recognisable ICs (as
opposed to epoxy-cvapped direct-on-board ones) contain 8048s or similar.
The PC/AT (and I assume PS/2s) have an 8042 microcntrolelr on the
moterhboard to handle communcation with the keyboard. The PC and PC/XT
don't, they use a TTL shift register an a little glue logic.
-tony