Alphanumeric keys: Letters (A–Z) and numbers (0–9) used for writing text and data. A keyboard and mouse are the two primary hardware input devices used to interact with a computer. A computer keyboard is a flat, rectangular input device featuring around 104 to 110 small buttons called keys. It allows users to type letters, numbers, and symbols, as well as execute commands.