Wednesday, 14 January 2015

Rollover (key)

Rollover is the ability of a computer keyboard to correctly handle several simultaneous keystrokes.

Normal typing

During normal typing on a conventional computer keyboard, only one key is typically being pressed by the user at any given time; each key is released before the next key is struck. However, this is not always the case. When using modifier keyssuch as Shift or Control, the user will intentionally hold down the modifier key(s) while striking and releasing another key. Rapid typists may sometimes inadvertently press a key before releasing the previous one. Certain unusual forms of keyboarding require multiple keys to be struck or held down simultaneously. For example, Braille2000 keying requires that as many as six keys be struck at once. Some computer games have interfaces requiring holding down keys (other than the usual modifier keys) while pressing and releasing other key of a computer keyboard to correctly handle several simultaneous keystrokes.

n-key rollover

Certain high-end keyboards have "n-key rollover". This means that each key is scanned completely independently by the keyboard hardware, so that each keypress is correctly detected regardless of how many other keys are being pressed or held down at the time.

Most music keyboards use isolation diodes in their keyboard matrix to implement full n-key rollover (sometimes abbreviated NKRO), making them immune to both key ghosting and key jamming.

However, to reduce cost and design complexity, most computer keyboards do not isolate all keys in this way. Instead, they use a matrix of key switches, without any isolation diodes, that assumes that only a limited number of keys will be held down at any given time. With these keyboards, pressing as few as three keys can cause ghosting effects, although care is taken when laying out the matrix arrangement that this does not happen for common modifier key combinations

Multi-key rollover

A keyboard with "two-key rollover" can reliably detect only any two keys used simultaneously; in other words, a user can hold down any key on the keyboard and press a second key, and be sure that the keypress is correctly detected by the computer. However, if the user has two keys depressed and attempts to strike a third key, the third keypress may create a "phantom key" by shorting out the switch matrix. This is not acceptable for quality keyboards because there are many cases when more than two keys need to be depressed at the same time, such as Ctrl-Alt-Delete, or when more than two keys are depressed because of fast typing ("rolling over" more than two keys).
"Multi-key rollover" is considered essential for quality keyboards and for English touch typing. This is where the most common key sequences have been studied, and keys in the same common sequence are placed in the electrical switch matrix such that three keys down cannot produce a fourth "phantom" key by shorting out the matrix. The simplest way to accomplish this is to put all keys in the same common sequence on the same X or Y line of the switch matrix. As long as the electronics does not see more than two keys on different X and Y lines, which would create a phantom key, it will continue to process the next key depressed. This typically produces four- to five-key rollover for the most common key sequences.

No comments:

Post a Comment