up
This commit is contained in:
parent
4ae129054e
commit
ab9ab64bd5
476 changed files with 3370 additions and 532 deletions
|
@ -1,11 +1,11 @@
|
|||
kinput.onkeydown = kinput.onkeyup = kinput.onkeypress = handle;
|
||||
|
||||
var lastTime = Date.now();
|
||||
let lastTime = Date.now();
|
||||
|
||||
function handle(e) {
|
||||
if (form.elements[e.type + 'Ignore'].checked) return;
|
||||
|
||||
var text = e.type +
|
||||
let text = e.type +
|
||||
' key=' + e.key +
|
||||
' code=' + e.code +
|
||||
(e.shiftKey ? ' shiftKey' : '') +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue