Skip to content

Instantly share code, notes, and snippets.


Francisco Hodge hodgef

View GitHub Profile
View words_short.json
View words.json
This file has been truncated, but you can view the full file.
hodgef / Javascript Key Char Codes
Last active Dec 16, 2020
Javascript Key Codes to Char Codes
View Javascript Key Char Codes
function getKeyCodeList(key) {
let obj = {
backspace: 8,
tab: 9,
enter: 13,
shiftleft: 16,
shiftright: 16,
ctrlleft: 17,
ctrlrigght: 17,
altleft: 18,