Gamepad: Disable with keyboard input

This commit is contained in:
LoveEevee
2018-12-15 22:13:16 +03:00
parent 7ddda48cfe
commit 57bf7bbd8c
4 changed files with 9 additions and 0 deletions

View File

@@ -714,6 +714,9 @@ class Scoresheet{
this.redrawRunning = false
pageEvents.keyRemove(this, "all")
pageEvents.remove(this.canvas, ["mousedown", "touchstart"])
if(p2.session){
pageEvents.remove(p2, "message")
}
delete this.ctx
delete this.canvas
}