add keycode "delete" support and fixed "\\" error

This commit is contained in:
vcaesar 2019-06-16 14:46:29 -04:00
parent a649a05df8
commit d49a45186e

View File

@ -47,7 +47,7 @@ var keycode = Map{
"p": 25, "p": 25,
"[": 26, "[": 26,
"]": 27, "]": 27,
"\\": 28, "\\": 43,
// //
"a": 30, "a": 30,
"s": 31, "s": 31,
@ -86,6 +86,7 @@ var keycode = Map{
"f12": 70, "f12": 70,
// more // more
"esc": 1, "esc": 1,
"delete": 14,
"tab": 15, "tab": 15,
"ctrl": 29, "ctrl": 29,
"control": 29, "control": 29,