A computer keyboard is a typewriter-style device which uses an arrangement of buttons or keys to act as mechanical levers or electronic switches. ... A keyboard is also used to give commands to the operating system of a computer, such as Windows' Control-Alt-Delete combination.