1. A keyboard controller system comprising: a keyboard with a plurality of keys; a key matrix coupled to the plurality of keys for generating a signal when one of said plurality of keys is activated; an output port coupled to the matrix; an input port coupled to the matrix; a cache memory component that receives signals from the key matrix wherein the cache stores the signal and identifies which of the plurality of keys is actuated; and a state machine coupled to the cache memory and the key matrix wherein the state machine efficiently controls the keyboard.