Skip to content

Commit

Permalink
Add keyup event in sound js
Browse files Browse the repository at this point in the history
  • Loading branch information
markdavepanado committed Mar 15, 2020
1 parent b798df4 commit 87e7153
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

1 change: 1 addition & 0 deletions sound.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var keysdown = {};

window.addEventListener("keydown", play);
window.addEventListener("keyup", play);

function play(e) {
// console.log(keysdown);
Expand Down

0 comments on commit 87e7153

Please sign in to comment.