mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
remove dupe
This commit is contained in:
parent
f4d409f1e1
commit
ff745a345e
1 changed files with 0 additions and 17 deletions
|
@ -377,23 +377,6 @@ var rightTrigger = new Trigger('right');
|
|||
|
||||
var mappingName, teleportMapping;
|
||||
|
||||
function registerMappings() {
|
||||
mappingName = 'Hifi-Teleporter-Dev-' + Math.random();
|
||||
teleportMapping = Controller.newMapping(mappingName);
|
||||
teleportMapping.from(Controller.Standard.RT).peek().to(rightTrigger.buttonPress);
|
||||
teleportMapping.from(Controller.Standard.LT).peek().to(leftTrigger.buttonPress);
|
||||
teleportMapping.from(Controller.Standard.RightPrimaryThumb).peek().to(rightPad.buttonPress);
|
||||
teleportMapping.from(Controller.Standard.LeftPrimaryThumb).peek().to(leftPad.buttonPress);
|
||||
|
||||
teleportMapping.from(leftPad.down).when(leftTrigger.down).to(function() {
|
||||
teleporter.enterTeleportMode('left')
|
||||
});
|
||||
teleportMapping.from(rightPad.down).when(rightTrigger.down).to(function() {
|
||||
teleporter.enterTeleportMode('right')
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function registerMappings() {
|
||||
mappingName = 'Hifi-Teleporter-Dev-' + Math.random();
|
||||
teleportMapping = Controller.newMapping(mappingName);
|
||||
|
|
Loading…
Reference in a new issue