Sometimes known as a character mapping, a keyboard layout or mapping is a table used by a computer operating system to govern which character code is generated when a key or key combination is pressed.