Input devices such as keyboards, mice, digital cameras, microphones, and scanners were matched to their functions. A keyboard is used for typing text, a mouse is used for clicking input, a digital camera captures images, a microphone inputs sound, and a scanner scans images or documents.