diff --git a/public/src/js/keyboard.js b/public/src/js/keyboard.js index 2ff1188..7e9c435 100644 --- a/public/src/js/keyboard.js +++ b/public/src/js/keyboard.js @@ -4,10 +4,10 @@ class Keyboard{ this.game = this.controller.game this.kbd = { - "don_l": 86, // V - "don_r": 66, // B - "ka_l": 67, // C - "ka_r": 78, // N + "don_l": 70, // F + "don_r": 74, // J + "ka_l": 68, // D + "ka_r": 75, // K "pause": 81, // Q "back": 8, // Backspace "previous": 38, // Up diff --git a/public/src/js/songselect.js b/public/src/js/songselect.js index f14f22d..fb50b93 100644 --- a/public/src/js/songselect.js +++ b/public/src/js/songselect.js @@ -253,15 +253,16 @@ class SongSelect{ if(code === "ctrl" || code === "shift"){ return } + var key = { confirm: code == 13 || code == 32 || code == 86 || code == 66, // Enter, Space, V, B cancel: code == 27 || code == 8, // Esc, Backspace - left: code == 37 || code == 67, - // Left, C - right: code == 39 || code == 78 - // Right, N + left: code == 70 || code == 68, + // Left + right: code == 74 || code == 75 + // Right } if(key.cancel && event){ event.preventDefault() diff --git a/public/src/views/tutorial.html b/public/src/views/tutorial.html index d1f224d..28810cc 100644 --- a/public/src/views/tutorial.html +++ b/public/src/views/tutorial.html @@ -3,8 +3,8 @@
How to Play

Hit the drum when the notes reach the taiko!

-

For red notes, hit the face of the drum (V or B)...

-

...and for blue notes, hit the rim! (C or N)

+

For red notes, hit the face of the drum (F or J)...

+

...and for blue notes, hit the rim! (D or K)

USB controllers are also supported!

Other controls