Question

how the data from a computer keyboard is translated into the binary code required for input to a computer. Also, discuss if a decoder can be used for this type of keyboard functions. Remember to cite your sources.