mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:24:47 +02:00
y
This commit is contained in:
parent
fdfcc235b6
commit
e69c89a93e
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ function registerMappings() {
|
||||||
mappingName = 'Hifi-AdvancedMovement-Dev-' + Math.random();
|
mappingName = 'Hifi-AdvancedMovement-Dev-' + Math.random();
|
||||||
advancedMapping = Controller.newMapping(mappingName);
|
advancedMapping = Controller.newMapping(mappingName);
|
||||||
var VIVE = Controller.Hardware.Vive;
|
var VIVE = Controller.Hardware.Vive;
|
||||||
advancedMapping.from(VIVE.LY).when(Controller.getValue(VIVE.LSY)).invert().to(Controller.Standard.LY);
|
advancedMapping.from(VIVE.LY).when(Controller.getValue(VIVE.LS)).invert().to(Controller.Standard.LY);
|
||||||
advancedMapping.from(VIVE.LX).when(Controller.getValue(VIVE.LSX)).to(Controller.Standard.LX);
|
advancedMapping.from(VIVE.LX).when(Controller.getValue(VIVE.LS)).to(Controller.Standard.LX);
|
||||||
advancedMapping.from(VIVE.RY).when(Controller.getValue(VIVE.RSY)).invert().to(Controller.Standard.RY);
|
advancedMapping.from(VIVE.RY).when(Controller.getValue(VIVE.RS)).invert().to(Controller.Standard.RY);
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeTranslationFromLeftStick() {
|
function removeTranslationFromLeftStick() {
|
||||||
|
|
Loading…
Reference in a new issue