Remove debug and change version to release
This commit is contained in:
parent
f9e80edb2a
commit
9b5d4caf05
9 changed files with 1 additions and 43 deletions
|
@ -194,9 +194,6 @@ ONSControls.resetIdleAnimation = function() {
|
|||
//=============================================================================
|
||||
ONSControls.sendEvent = function(event, button) {
|
||||
const key = VirtualGamepad.keys.find((element) => element.name == button);
|
||||
if (event.type === "pointerdown") {
|
||||
console.log(`ONSControls: Pointer down for ${button}`); // Remove in release
|
||||
}
|
||||
VirtualGamepad.gamepad.buttons[key.code].pressed = event.type === "pointerdown" ? true : false
|
||||
}
|
||||
//=============================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue