Skip to content

Instantly share code, notes, and snippets.

@rohozhnikoff
Created August 29, 2014 22:40
Show Gist options
  • Save rohozhnikoff/ee6a14727f0674b67b7b to your computer and use it in GitHub Desktop.
Save rohozhnikoff/ee6a14727f0674b67b7b to your computer and use it in GitHub Desktop.
keyCodes on browsers, code => name
{
"8": "backspace",
"9": "tab",
"13": "enter",
"16": "shift",
"17": "ctrl",
"18": "alt",
"19": "pause/break",
"20": "caps lock",
"27": "escape",
"33": "page up",
"34": "page down",
"35": "end",
"36": "home",
"37": "left arrow",
"38": "up arrow",
"39": "right arrow",
"40": "down arrow",
"45": "insert",
"46": "delete",
"91": "left window",
"92": "right window",
"93": "select key",
"96": "numpad 0",
"97": "numpad 1",
"98": "numpad 2",
"99": "numpad 3",
"100": "numpad 4",
"101": "numpad 5",
"102": "numpad 6",
"103": "numpad 7",
"104": "numpad 8",
"105": "numpad 9",
"106": "multiply",
"107": "add",
"109": "subtract",
"110": "decimal point",
"111": "divide",
"112": "F1",
"113": "F2",
"114": "F3",
"115": "F4",
"116": "F5",
"117": "F6",
"118": "F7",
"119": "F8",
"120": "F9",
"121": "F10",
"122": "F11",
"123": "F12",
"144": "num lock",
"145": "scroll lock",
"186": ";",
"187": "=",
"188": ",",
"189": "-",
"190": ".",
"191": "/",
"192": "`",
"219": "[",
"220": "\\\\",
"221": "]",
"222": "'"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment