 All the other indicator lights work in a similar way.The keyboard driver also tracks the shift, alt and control state of the keyboard.The keyboard switch matrix is often drawn with horizontal wires and vertical wires in a grid which is called a matrix circuit.