Input devices such as keyboards and mice allow users to input data and instructions. Keyboards typically use the QWERTY layout and contain around 100 keys. When a key is pressed, the keyboard controller detects it and sends a scan code to the computer's CPU. Mice are pointing devices used to control an on-screen pointer and issue commands via techniques like pointing, clicking, dragging, and right-clicking. Other input devices include touch screens, pens, trackballs, and trackpads.