Topic summary

Keyboard mapping

Keyboard mapping

Extracted from the Wikipedia article Keyboard layout.

Modern computer keyboards are designed to send a scancode to the operating system (OS) when a key is pressed or released. This code reports only the key's row and column, not the specific character engraved on that key. The OS converts the scancode into a specific binary character code using a "scancode to character" conversion table, called the keyboard mapping table. This means that a physical keyboard may be dynamically mapped to any layout without switching hardware components—merely by changing the software that interprets the keystrokes. Often, a user can change keyboard mapping in system settings. In addition, software may be available to modify or extend keyboard functionality. Thus the symbol shown on the physical key-top need not be the same as appears on the screen or goes into a document being typed. Most modern USB and wireless keyboards are plug-and-play, and communicate their (default) visual layout to the OS when connected. Some keyboards have firmware which can configure layouts, as well as customize lighting and other functions.