Keyboard: Add TaTaCon buttons

This commit is contained in:
LoveEevee
2018-10-08 23:32:25 +03:00
parent 13f9981e6f
commit 32caec8fac
7 changed files with 10 additions and 10 deletions

View File

@@ -7,9 +7,8 @@ class Titlescreen{
pageEvents.once(this.titleScreen, "touchstart").then(this.onPressed.bind(this))
assets.sounds["title"].play()
this.gamepad = new Gamepad({
"start": ["b", "x", "y", "start"],
"a": ["a"]
}, (pressed, key) => {
"start": ["a", "b", "x", "y", "start", "ls", "rs"]
}, pressed => {
if(pressed){
this.onPressed()
}