How Computer Keyboards Work

When you look at all the extras and options that are available for new computer keyboards, it can be hard to believe that their original design came from mechanical typewriters that didn’t even use electricity. Now, you can buy ergonomic keyboards that bear little resemblance to flat, rectangular models with ordinary square keys. Some flashier models light up, roll up or fold up, and others offer options for programming your own commands and shortcuts.

But no matter how many bells and whistles they offer, most keyboards operate using similar technology. They use switches and circuits to translate a person’s keystrokes into a signal a computer can understand. In this article we will explore keyboard technology along with different key layouts, options and designs.

Non-standard layout and special-use types(2)

Foldable

Further information: Flexible electronics

A foldable keyboard.

Foldable (also called flexible) keyboards are made of soft plastic or silicone which can be rolled or folded on itself for travel.When in use, these keyboards can conform to uneven surfaces, and are more resistant to liquids than standard keyboards. These can also be connected to portable devices and smartphones. Some models can be fully immersed in water, making them popular in hospitals and laboratories, as they can be disinfected.

Projection (as by laser)

Projection keyboards project an image of keys, usually with a laser, onto a flat surface. The device then uses a camera or infrared sensor to “watch” where the user’s fingers move, and will count a key as being pressed when it “sees” the user’s finger touch the projected image. Projection keyboards can simulate a full size keyboard from a very small projector. Because the “keys’ are simply projected images, they cannot be felt when pressed. Users of projected keyboards often experience increased discomfort in their fingertips because of the lack of “give” when typing. A flat, non-reflective surface is also required for the keys to be projected onto. Most projection keyboards are made for use with PDAs due to their small form factor.

Optical keyboard technology

Also known as photo-optical keyboard, light responsive keyboard, photo-electric keyboard and optical key actuation detection technology.

An optical keyboard technology utilizes light emitting devices and photo sensors to optically detect actuated keys. Most commonly the emitters and sensors are located in the perimeter, mounted on a small PCB. The light is directed from side to side of the keyboard interior and it can only be blocked by the actuated keys. Most optical keyboards require at least 2 beams (most commonly vertical beam and horizontal beam) to determine the actuated key. Some optical keyboards use a special key structure that blocks the light in a certain pattern, allowing only one beam per row of keys (most commonly horizontal beam).

Further information: Keyboard technology

Non-standard layout and special-use types(1)

Chorded

While other keyboards generally associate one action with each key, chorded keyboards associate actions with combinations of key presses. Since there are many combinations available, chorded keyboards can effectively produce more actions on a board with fewer keys. Court reporters’ stenotype machines use chorded keyboards to enable them to enter text much faster by typing a syllable with each stroke instead of one letter at a time. The fastest typists (as of 2007) use a stenograph, a kind of chorded keyboard used by most court reporters and closed-caption reporters. Some chorded keyboards are also made for use in situations where fewer keys are preferable, such as on devices that can be used with only one hand, and on small mobile devices that don’t have room for larger keyboards. Chorded keyboards are less desirable in many cases because it usually takes practice and memorization of the combinations to become proficient

Software

Software keyboards or on-screen keyboards often take the form of computer programs that display an image of a keyboard on the screen. Another input device such as a mouse or a touchscreen can be used to operate each virtual key to enter text. Software keyboards have become very popular in touchscreen enabled cell phones, due to the additional cost and space requirements of other types of hardware keyboards. Microsoft Windows, Mac OS X, and some varieties of Linux include on-screen keyboards that can be controlled with the mouse.

Keyboard types

One factor determining the size of a keyboard is the presence of duplicate keys, such as a separate numeric keyboard, for convenience.

Further the keyboard size depends on the extent to which a system is used where a single action is produced by a combination of subsequent or simultaneous keystrokes (with modifier keys, see below), or multiple pressing of a single key. A keyboard with few keys is called a keypad. See also text entry interface.

Another factor determining the size of a keyboard is the size and spacing of the keys. Reduction is limited by the practical consideration that the keys must be large enough to be easily pressed by fingers. Alternatively a tool is used for pressing small keys.

Standard

Standard “full-travel” alphanumeric keyboards have keys that are on three-quarter inch centers (0.750 inches, 19.05 mm), and have a key travel of at least 0.150 inches (3.81 mm). Desktop computer keyboards, such as the 101-key US traditional keyboards or the 104-key Windows keyboards, include alphabetic characters, punctuation symbols, numbers and a variety of function keys. The internationally common 102/105 key keyboards have a smaller ‘left shift’ key and an additional key with some more symbols between that and the letter to its right (usually Z or Y). Also the ‘enter’ key is usually shaped differently.Computer keyboards are similar to electric-typewriter keyboards but contain additional keys. Standard USB keyboards can also be connected to some non-desktop devices.

Laptop-size

Keyboards on laptops and notebook computers usually have a shorter travel distance for the keystroke and a reduced set of keys. They may not have a numerical keypad, and the function keys may be placed in locations that differ from their placement on a standard, full-sized keyboard.

The keyboards on laptops usually have a shorter travel distance and a reduced set of keys.

 Thumb-sized

Smaller external keyboards have been introduced for devices without a built keyboard, such as PDAs, and smartphones. Small keyboards are also useful where there is a limited workspace.

A chorded keyboard allows pressing several keys simultaneously. For example, the GKOS keyboard has been designed for small wireless devices. Other two-handed alternatives more akin to a game controller, such as the AlphaGrip, are also used as a way to input data and text.

A thumb keyboard (thumbboard) is used in some personal digital assistants such as the Palm Treo and BlackBerry and some Ultra-Mobile PCs such as the OQO.

Numeric keyboards contain only numbers, mathematical symbols for addition, subtraction, multiplication, and division, a decimal point, and several function keys. They are often used to facilitate data entry with smaller keyboards that do not have a numeric keypad, commonly those of laptop computers. These keys are collectively known as a numeric pad, numeric keys, or a numeric keypad, and it can consist of the following types of keys:

  • arithmetic operators such as +, -, *, /
  • numeric digits 0–9
  • cursor arrow keys
  • navigation keys such as Home, End, PgUp, PgDown, etc.
  • Num Lock button, used to enable or disable the numeric pad
  • enter key.

Computer keyboard

In computing, a keyboard is a typewriter-style keyboard, which uses an arrangement of buttons or keys, to act as mechanical levers or electronic switches. Following the decline of punch cards and paper tape, interaction via teleprinter-style keyboards became the main input device for computers.

Despite the development of alternative input devices, such as the mouse, touchscreen, pen devices, character recognition and voice recognition, the keyboard remains the most commonly used and most versatile device used for direct (human) input into computers.

A keyboard typically has characters engraved or printed on the keys and each press of a key typically corresponds to a single written symbol. However, to produce some symbols requires pressing and holding several keys simultaneously or in sequence. While most keyboard keys produce letters, numbers or signs (characters), other keys or simultaneous key presses can produce actions or computer commands.

In normal usage, the keyboard is used to type text and numbers into a word processor, text editor or other program. In a modern computer, the interpretation of key presses is generally left to the software. A computer keyboard distinguishes each physical key from every other and reports all key presses to the controlling software. Keyboards are also used for computer gaming, either with regular keyboards or by using keyboards with special gaming features, which can expedite frequently used keystroke combinations. A keyboard is also used to give commands to the operating system of a computer, such as Windows’ Control-Alt-Delete combination, which brings up a task window or shuts down the machine. Keyboards are the only way to enter commands on a command-line interface.

Working Group For Creating Virtual Keyboard Standard For Indic Languages Formed By IEEE

A working group for a a Virtual Keyboard Standard for Indic Languages is being launched on 25th January 2012 by the IEEE (Institute of Electrical and Electronics Engineers). The Working Group will essentially finalize a standard for an Indic language keyboard for touch screen interfaces that can be used by smart phone and tablet manufacturers.

A statement from the IEEE says that a study group comprising representatives of the government, research institutions and industry spent close to a year assessing the status of different initiatives and defining the scope of the project, and the working group will “address the limitations of previous standards efforts that have been unable to fully accommodate the preferences of languages other than Hindi and/or that have a high learning curve because of lack of phonetic mapping between English and Indian language characters or lack of dynamic presentation of Indian language characters.” More in the Press Release

Our Take

While this is a step in the right direction, readers should note that just because a standard is finalized for a virtual keyboard, it doesn’t mean that it will be implemented by OEMs and/or OS manufacturers: the 3gpp standard for Indic language SMS was finalized in 2009, and it doesn’t appear as if telecom operators and handset manufacturers in India have done anything to implement them. In this case, it is different because the keypad is for touch screen phones, and a virtual keypad can also be an external application. However, while defining a standard is a positive step, and it might help ensure that there is at least one indic keypad per language on smart phones and tablets, I hope it also does lead to development of other types of keypads, giving consumers more choice, the way Swype was developed.