PIXI Controls: Disable touch in gameplay
This commit is contained in:
parent
99631a6d08
commit
3f88db76b6
2 changed files with 5 additions and 8 deletions
|
@ -272,6 +272,10 @@ ONSControls.updateButtons = function() {
|
|||
console.log("ONSControls: Controls updated");
|
||||
}
|
||||
|
||||
ONSControls.disableTouch = function() {
|
||||
TouchInput.update = function() {return;};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -804,6 +808,7 @@ ONSControls.initialize = function() {
|
|||
this.createBumpers();
|
||||
this.createAdditionalButtons();
|
||||
this.updateButtons();
|
||||
this.disableTouch();
|
||||
VirtualGamepad.connect();
|
||||
Window_OmoMenuOptionsONSControls.prototype.add();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue