The processor in a keyboard has to understand several ~ings that are important to the utility of the eyboard, such as:

* I Position of the key in the key matrix.

* I The amount of bounce and how to filtel it.

* The speed at which to transmit the typematics.


The key matrix is the grid of circuits underneath keys. In all keyboards except for capacitive ones, h circuit is broken at the point below a specific . Pressing the key bridges the gap in the circuit, wing a tiny amount of current to flow through. The
processor monitors the key matrix for signs of continuity at any point on the grid. When it finds a circuit that is closed, it compares the location of that uit on the key matrix to the character map in its vi. The character map is basically a comparison t for the processor that tells it what the key at x and y coordinates in the key matrix represents. if more than one key is pressed at the same time, the processor checks to see if that combination of keys has a designation in the character map. For example, pressing the a key by itself would result in a small letter a being sent to the computer. If you press and hold down the Shift key while pressing the a key, the processor compares that combination with the character map and produces a capital letter "A."

Name:  Keyboard.jpg
Views: 527
Size:  21.8 KB

Keyboards rely on switches that cause a change in the current flowing through the circuits in the keyboard. When the key presses the key switch against the circuit, there is usually a small amount of vibration between the surfaces, known as bounce. The processor in a keyboard recognizes that this very rapid switching on and off is not caused by you pressing the key repeatedly. Therefore, it filters all of the tiny fluctuations out of the signal and treats it as a single key press. If you continue to hold down a key, the processor determines that you wish to send that character repeatedly to the computer. This is known as typematics. In this process, the delay between each instance of a character can normally be set in software, typicaIly ranging from 30 characters per second (cps) to as few as two cps.