Moin!
Google sagt folgendes zu ps2 tastatur protokoll:

http://www.marjorie.de/ps2/ps2_protocol.htm
Da steht auch, wieso das 11 Bits sind

und hier steht noch was zum Tastaturprotokoll direkt.
http://www.marjorie.de/ps2/ps2_keyboard.htm

MfG
Volker